/**
 * Create a tuple using the tuple() function and check if a given member is present in the tuple.
 *
 * @param members A list of strings representing the members.
 * @param data A string representing the member to check for membership.
 * @return True if the member is present in the tuple, False otherwise.
 */
fun createTuple(members: List<String>, data: String): Boolean {

    // Create a tuple using the tuple() function
    val memberTuple = members.toTypedArray()

    // Check if the given member is present in the tuple
    return data in memberTuple
}
/**
 * Create a tuple using the tuple() function and check if a given member is present in the tuple.
 *
 * @param members A list of strings representing the members.
 * @param data A string representing the member to check for membership.
 * @return True if the member is present in the tuple, False otherwise.
 */
fun createTuple(members: List<String>, data: String): Boolean {
/**
 * Create a tuple using the tuple() function and check if a given member is present in the tuple.
 *
 * @param members A list of strings representing the members.
 * @param data A string representing the member to check for membership.
 * @return True if the member is present in the tuple, False otherwise.
 */
fun createTuple(members: List<String>, data: String): Boolean {

    // Create a tuple using the tuple() function
    val memberTuple = members.toTypedArray()

    // Check if the given member is present in the tuple
    return data in memberTuple
}