/**
 * Given a list of strings, the function checks if a given target string is part of any of the strings using the 'in' operator.
 *
 * @param data A list of strings.
 * @param target The string to check for intersection.
 * @return True if the target string is found in any of the strings in the list, False otherwise.
 */
fun intersectionCheck(data: List<String>, target: String): Boolean {

    // Iterate through each string in the list
    for (string in data) {
        // Check if the target string is a substring of the current string
        if (target in string) {
            return true  // Found an intersection, return True
        }
    }
    
    return false  // No intersections found, return False
}
/**
 * Given a list of strings, the function checks if a given target string is part of any of the strings using the 'in' operator.
 *
 * @param data A list of strings.
 * @param target The string to check for intersection.
 * @return True if the target string is found in any of the strings in the list, False otherwise.
 */
fun intersectionCheck(data: List<String>, target: String): Boolean {
/**
 * Given a list of strings, the function checks if a given target string is part of any of the strings using the 'in' operator.
 *
 * @param data A list of strings.
 * @param target The string to check for intersection.
 * @return True if the target string is found in any of the strings in the list, False otherwise.
 */
fun intersectionCheck(data: List<String>, target: String): Boolean {

    // Iterate through each string in the list
    for (string in data) {
        // Check if the target string is a substring of the current string
        if (target in string) {
            return true  // Found an intersection, return True
        }
    }
    
    return false  // No intersections found, return False
}