def lights_should_be_on(self):
        now = datetime.datetime.now()
        return self.lights_on_time <= now.hour < self.lights_off_time
Convenience function to create Timer object and call repeat method.
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/submarine.py/Submarine.lights_should_be_on--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/timeit.py/repeat