def extract_index(data):
    """
    Extracts index value from a list of tuples.

    Args:
        data (list): List of tuples containing test information.

    Returns:
        int: Index value if list is not empty, None otherwise.
    """
    return data[0][2] if data else None