returns true if the given string contains a true or false
the string to be tested
true if the string is either true or false
returns true if the given string contains a true or false