StringVariable.isString("DirectText")
Check the value of a string, case insensitive