import random


def is_sr_task_data(raw_data):
    """
    Test if the extracted raw data is the original UD CoNLL format,
    or the SR Task file.

    :param raw_data: list of data points extracted using the CoNLL reader
    :return: bool
    """
    random_datum = random.sample(raw_data, k=1)[0]
    num_tokens = len(random_datum)
    second_columns = [t[2] for t in random_datum]
    second_column_sr_fmt = ['_'] * num_tokens

    if second_columns == second_column_sr_fmt:
        return True

    else:
        return False