def rmTimestampIsLeapYear(timestamp):
    d = datetime.fromtimestamp(timestamp)

    #try:
    #    datetime(d.year, 2, 29)
    #    return True
    #except ValueError:
    #    return False

    if d.year % 400 == 0:
        return True
    elif d.year % 100 == 0:
        return False
    elif d.year % 4 == 0:
        return True
    return False