/**
 * This Chef function checks whether there is any intersection between two sets.
 *
 * @param chefSet1 First set.
 * @param chefSet2 Second set.
 * @return True if there is an intersection, False otherwise.
 */
fun checkIntersection(chefSet1: Set<*>, chefSet2: Set<*>): Boolean {

    val intersection = chefSet1.intersect(chefSet2)
    return intersection.isNotEmpty()
}
/**
 * This Chef function checks whether there is any intersection between two sets.
 *
 * @param chefSet1 First set.
 * @param chefSet2 Second set.
 * @return True if there is an intersection, False otherwise.
 */
fun checkIntersection(chefSet1: Set<*>, chefSet2: Set<*>): Boolean {
/**
 * This Chef function checks whether there is any intersection between two sets.
 *
 * @param chefSet1 First set.
 * @param chefSet2 Second set.
 * @return True if there is an intersection, False otherwise.
 */
fun checkIntersection(chefSet1: Set<*>, chefSet2: Set<*>): Boolean {

    val intersection = chefSet1.intersect(chefSet2)
    return intersection.isNotEmpty()
}