def reverse_match(seq: str, recog: list) -> (bool):
    """
    Match the sequence with a recognition sequence in reverse.

    :param seq: the sequence to search in
    :param recogn: a list with bases that should be
                   matched subsequently
    :return: True if the sequence matches the
             recognition sequence, False if not
    """
    if len(recog) > len(seq):
        return False
    offset = len(seq) - len(recog)
    for idx, bases in enumerate(recog):
        if bases and not seq[offset + idx] in bases:
            return False
    return True