toBoolean

toBoolean returns true if the specified string is true or on or yes (cases are ignored).

toBoolean(string s)