def is_year(my_potential_year):
    """
    A simple module to detect if a given string is a year. Notice than when using
    datetime module is not possible to make the difference and detect if 1894 is just
    a year compared to 1st Jan 1894 when using strptime
    """
    try:
        year = int(my_potential_year)
        if year > 2990:
            return False
        return True
    except ValueError:
        return False
