def conll_format(path):
    """
    Check whether a file contains data in CoNLL-U format.
    """
    try:
        with open(path) as f:
            for line in f:
                line = line.strip()
                if line and not line.startswith('#'):
                    # CoNLL-U format has 10 tsv:
                    return len(line.split('\t')) == 10
        return False
    except:
        return False