def bedl_matches_vcf(variant, line_split: list) -> bool:   
    """ Consecutive checks of whether the chromosome, start position and repeat unit
    in the supplied variant and (split + stripped) bedl line match. If all matches, return True,
    otherwise return False
    """
    if not line_split[0] == variant.CHROM:
        return False
    if not int(line_split[1]) == variant.start + 1:
        return False   
    try: 
        if not variant.INFO.get('RU').upper() == line_split[4]:
            return False
    except AttributeError:
        return False
    return True