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
Stop doing work and shut down all idle workers.
dataset/ETHPy150Open google/transitfeed/transitfeed/serviceperiod.py/ServicePeriod.HasDateExceptionOn--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/_threads/_team.py/Team.quit