/**
 * Given a variable, this function checks if it satisfies certain conditions.
 *
 * @param variable The variable to be checked
 * @return A boolean value indicating if the variable satisfies the conditions or not
 */
fun findNegativeCases(variable: Any): Boolean {

    // Check if the variable is not a string containing 'lawyer'
    if (variable !is String || "lawyer" !in variable) {
        return true
    }

    // Check if the variable is not equal to the number 100
    if (variable != 100) {
        return true
    }

    // Check if the variable is not a list with more than 5 elements
    if (variable !is List<*> || variable.size <= 5) {
        return true
    }

    // Check if the variable is not a dictionary with at least 3 keys
    if (variable !is Map<*, *> || variable.keys.size < 3) {
        return true
    }

    // Check if the variable is not a float number greater than or equal to 5
    if (variable !is Float || variable < 5) {
        return true
    }

    return false
}
/**
 * Given a variable, this function checks if it satisfies certain conditions.
 *
 * @param variable The variable to be checked
 * @return A boolean value indicating if the variable satisfies the conditions or not
 */
fun findNegativeCases(variable: Any): Boolean {
/**
 * Given a variable, this function checks if it satisfies certain conditions.
 *
 * @param variable The variable to be checked
 * @return A boolean value indicating if the variable satisfies the conditions or not
 */
fun findNegativeCases(variable: Any): Boolean {

    // Check if the variable is not a string containing 'lawyer'
    if (variable !is String || "lawyer" !in variable) {
        return true
    }

    // Check if the variable is not equal to the number 100
    if (variable != 100) {
        return true
    }

    // Check if the variable is not a list with more than 5 elements
    if (variable !is List<*> || variable.size <= 5) {
        return true
    }

    // Check if the variable is not a dictionary with at least 3 keys
    if (variable !is Map<*, *> || variable.keys.size < 3) {
        return true
    }

    // Check if the variable is not a float number greater than or equal to 5
    if (variable !is Float || variable < 5) {
        return true
    }

    return false
}