code: def is_daylight_saving_hour(self, datetime):
          
          if not self.daylight_saving_period:
              return False
          return self.daylight_saving_period.isTimeIncluded(datetime.hoy)
docs: Check if a datetime is a daylight saving time.