/**
 * This function checks whether a given sentence contains any of the provided keywords.
 *
 * @param sentence The sentence to be checked.
 * @param keywords List of keywords to search for.
 * @return True if any keyword is found in the sentence, False otherwise.
 */
fun containsKeyword(sentence: String, keywords: List<String>): Boolean {

    val wordList = sentence.split(" ")
    for (word in wordList) {
        if (word in keywords) {
            return true
        } else if (word.toLowerCase() == "break") {
            break
        }
    }
    return false
}
/**
 * This function checks whether a given sentence contains any of the provided keywords.
 *
 * @param sentence The sentence to be checked.
 * @param keywords List of keywords to search for.
 * @return True if any keyword is found in the sentence, False otherwise.
 */
fun containsKeyword(sentence: String, keywords: List<String>): Boolean {
/**
 * This function checks whether a given sentence contains any of the provided keywords.
 *
 * @param sentence The sentence to be checked.
 * @param keywords List of keywords to search for.
 * @return True if any keyword is found in the sentence, False otherwise.
 */
fun containsKeyword(sentence: String, keywords: List<String>): Boolean {

    val wordList = sentence.split(" ")
    for (word in wordList) {
        if (word in keywords) {
            return true
        } else if (word.toLowerCase() == "break") {
            break
        }
    }
    return false
}