/**
 * Given a word, check if the word contains a vowel.
 *
 * @param word A string representing the word to check.
 * @return True if the word contains a vowel, False otherwise.
 */
fun checkVowel(word: String): Boolean {

    // Iterate through each character in the word
    for (char in word) {
        // Check if the character is a vowel
        if (char in listOf('a', 'e', 'i', 'o', 'u')) {
            return true
        }
    }
    // If no vowel is found, return false
    return false
}
/**
 * Given a word, check if the word contains a vowel.
 *
 * @param word A string representing the word to check.
 * @return True if the word contains a vowel, False otherwise.
 */
fun checkVowel(word: String): Boolean {
/**
 * Given a word, check if the word contains a vowel.
 *
 * @param word A string representing the word to check.
 * @return True if the word contains a vowel, False otherwise.
 */
fun checkVowel(word: String): Boolean {

    // Iterate through each character in the word
    for (char in word) {
        // Check if the character is a vowel
        if (char in listOf('a', 'e', 'i', 'o', 'u')) {
            return true
        }
    }
    // If no vowel is found, return false
    return false
}