Returns true or false depending on whether a string contains a char or not.