/**
 * Given two lists, check if there is any intersection between the two using the "in" operator.
 * Return true if there is an intersection, and false otherwise.
 */
fun intersectionCheck(list1: List<Any>, list2: List<Any>): Boolean {

    for (item in list1) {
        // Check if the item exists in list2
        if (item in list2) {
            return true
        }
    }
    // No intersection found
    return false
}
/**
 * Given two lists, check if there is any intersection between the two using the "in" operator.
 * Return true if there is an intersection, and false otherwise.
 */
fun intersectionCheck(list1: List<Any>, list2: List<Any>): Boolean {
/**
 * Given two lists, check if there is any intersection between the two using the "in" operator.
 * Return true if there is an intersection, and false otherwise.
 */
fun intersectionCheck(list1: List<Any>, list2: List<Any>): Boolean {

    for (item in list1) {
        // Check if the item exists in list2
        if (item in list2) {
            return true
        }
    }
    // No intersection found
    return false
}