Suppose I have a character, and I want to check if the character is in the string. For example, I want to know if 'a' is in the string "artifact" without using loops. I was wondering if there is a predefined function that checks each character of a string with the character provided and returns a bool.