def isholiday(self, dt):
        if type(dt) == datetime.datetime:
            dt = dt.date()
        self._ensure_holidays_span_datetime(dt)
        return self._holidays in dt
dataset/ETHPy150Open seatgeek/businesstime/businesstime/__init__.py/BusinessTime.isholiday/swapped operands of `in`