/**
 * Given a string and a character, the function checks if the character is present in the string using the "is" operator.
 *
 * @param string The input string.
 * @param character The character to check.
 * @return True if the character is present in the string, False otherwise.
 */
fun isCharacterPresent(string: String, character: Char): Boolean {

    for (char in string) {
        if (char == character) {
            return true
        }
    }
    return false
}
/**
 * Given a string and a character, the function checks if the character is present in the string using the "is" operator.
 *
 * @param string The input string.
 * @param character The character to check.
 * @return True if the character is present in the string, False otherwise.
 */
fun isCharacterPresent(string: String, character: Char): Boolean {
/**
 * Given a string and a character, the function checks if the character is present in the string using the "is" operator.
 *
 * @param string The input string.
 * @param character The character to check.
 * @return True if the character is present in the string, False otherwise.
 */
fun isCharacterPresent(string: String, character: Char): Boolean {

    for (char in string) {
        if (char == character) {
            return true
        }
    }
    return false
}