@staticmethod
def _is_leap(year):
    """Return True if year of date is a leap year, otherwise False."""
    if year < 0:
        year += 1
    if year % 4 == 0 and not (year % 100 == 0 and year % 400 != 0):
        return True
    return False
