import csv


def check_output_quality(output_file_path: str):
    """ Verify our output file meets spec """
    try:
        with open(output_file_path, "r") as tsv_in:
            tsv_in = csv.reader(tsv_in, delimiter="\t")
            for i, row in enumerate(tsv_in):
                # We could change this to a header column checker
                if i == 0:
                    continue

                # If there are more than 2 columns,
                # we consider this bad data. (Likely old machine/processing!)
                if len(row) > 2:
                    return False
    except Exception:
        return False

    return True