def valid_date_format(date):
    """Validates a general date by making sure it is 8 digits long, are only digits and the year can only contain a 2 or 1 in the front (to exlude 0123,3000,4000)

    Args:
        date:str
    Returns:
        returns Boolean
    """
    if len(date) == 8 and date.isdigit() and (date[0] == '2' or date[0] == '1'
        ):
        return True
    else:
        return False
