/**
 * Create a function that checks if a specific keyword exists in a list of documents.
 *
 * @param documents a list of documents (strings)
 * @param keyword a string representing the keyword to be searched
 * @return true if the keyword is not found in any of the documents, false otherwise
 */
fun checkCase(documents: List<String>, keyword: String): Boolean {

    var found = false // variable to track if the keyword is found

    // Iterate through each document
    for (document in documents) {
        // Check if the keyword is present in the document
        if (keyword in document) {
            found = true
            break
        }
    }

    return !found
}
/**
 * Create a function that checks if a specific keyword exists in a list of documents.
 *
 * @param documents a list of documents (strings)
 * @param keyword a string representing the keyword to be searched
 * @return true if the keyword is not found in any of the documents, false otherwise
 */
fun checkCase(documents: List<String>, keyword: String): Boolean {
/**
 * Create a function that checks if a specific keyword exists in a list of documents.
 *
 * @param documents a list of documents (strings)
 * @param keyword a string representing the keyword to be searched
 * @return true if the keyword is not found in any of the documents, false otherwise
 */
fun checkCase(documents: List<String>, keyword: String): Boolean {

    var found = false // variable to track if the keyword is found

    // Iterate through each document
    for (document in documents) {
        // Check if the keyword is present in the document
        if (keyword in document) {
            found = true
            break
        }
    }

    return !found
}