def is_leap_year(self): """ Determines if the instance is a leap year. :rtype: bool """ return calendar.isleap(self.year)