/**
 * This function checks for the intersection between two lists and returns true if there is no intersection, otherwise false.
 */
fun intersectionCheck(list1: List<Any>, list2: List<Any>): Boolean {

    for (item1 in list1) {
        if (item1 !in list2) {
            continue
        } else {
            for (item2 in list2) {
                if (item2 !in list1) {
                    return false
                }
            }
            return true
        }
    }
    return false
}
/**
 * This function checks for the intersection between two lists and returns true if there is no intersection, otherwise false.
 */
fun intersectionCheck(list1: List<Any>, list2: List<Any>): Boolean {
/**
 * This function checks for the intersection between two lists and returns true if there is no intersection, otherwise false.
 */
fun intersectionCheck(list1: List<Any>, list2: List<Any>): Boolean {

    for (item1 in list1) {
        if (item1 !in list2) {
            continue
        } else {
            for (item2 in list2) {
                if (item2 !in list1) {
                    return false
                }
            }
            return true
        }
    }
    return false
}