def lights_should_be_on(self):
        now = datetime.datetime.now()
        return self.lights_on_time <= now.hour < self.lights_off_time
Lights should be on from 8:00 to 16:00
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/submarine.py/Submarine.lights_should_be_on