code: def is_holiday_or_weekend(holidays, dt):
      
      one_day = timedelta(days=1)
  
      for h in holidays:
          if dt in h.dates(dt - one_day, dt + one_day) or \
                  dt.weekday() in WEEKENDS:
              return True
  
      return False
docs: Given a list of holidays, return whether dt is a holiday
      or it is on a weekend.