/**
 * This function checks if there are any common elements between two lists.
 * It returns true if there are any common elements, otherwise it returns false.
 */
fun checkCommonElements(list1: List<Any>, list2: List<Any>): Boolean {

    for (item1 in list1) {
        for (item2 in list2) {
            if (item1 == item2) {
                return true
            }
        }
    }
    return false
}
/**
 * This function checks if there are any common elements between two lists.
 * It returns true if there are any common elements, otherwise it returns false.
 */
fun checkCommonElements(list1: List<Any>, list2: List<Any>): Boolean {
/**
 * This function checks if there are any common elements between two lists.
 * It returns true if there are any common elements, otherwise it returns false.
 */
fun checkCommonElements(list1: List<Any>, list2: List<Any>): Boolean {

    for (item1 in list1) {
        for (item2 in list2) {
            if (item1 == item2) {
                return true
            }
        }
    }
    return false
}