'Whether the provided date is a work day for the subject resource.
:type date: datetime.date
:rtype: bool'

def _is_work_day(self, date):

    return bool(next(self._iter_work_days(date, date), False))
