def check_format(path):
    """Check if a file is an Tripos MOL2.

    Check for "@<TRIPOS>"

    Parameters
    ----------
    path : str or Path
    """
    result = True
    with open(path, "r") as fd:
        for line in fd:
            line = line.strip()
            if "@<TRIPOS>" in line:
                result = True
                break

    return result