def HasDateExceptionOn(self, date, exception_type=_EXCEPTION_TYPE_ADD):
    if date in self.date_exceptions:
      return exception_type == self.date_exceptions[date][0]
    return False
Test if this service period has a date exception of the given type.
dataset/ETHPy150Open google/transitfeed/transitfeed/serviceperiod.py/ServicePeriod.HasDateExceptionOn