def matches(self, context): return is_in_time_range(timezone.now(), self.hour_start, self.hour_end, self.values)
def matches(self, basket, lines): return is_in_time_range(timezone.now(), self.hour_start, self.hour_end, self.values)
def matches(self, basket, lines): return is_in_time_range(timezone.now(), self.hour_start, self.hour_end, self.values)
def matches(self, context): return is_in_time_range(timezone.now(), self.hour_start, self.hour_end, self.values)