'Check if given day is in the excludes list.'

def is_exclude(self, day, now):

    if (day in self._excludes):
        return True
    elif (('holiday' in self._excludes) and (now in self._obj_holidays)):
        return True
    return False
