def unlight(self, relight_on_valid=False, **kwargs):
        self.log.debug("Turning off Lights")
        for light in self.machine.lights.items_tagged(
                self.config['lights_tag']):
            light.off()

        self.lit = False

        if relight_on_valid:
            self.light_on_valid_key = self.machine.events.add_handler(
                'scorereelgroup_' + self.name + '_valid',
                self.light,
                relight_on_valid=True)
        else:
            self.machine.events.remove_handler_by_key(
                self.unlight_on_resync_key)
"Checks the status of backlogged hosting devices.
dataset/ETHPy150Open missionpinball/mpf/mpf/devices/score_reel.py/ScoreReelGroup.unlight--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/device_status.py/DeviceStatus.check_backlogged_hosting_devices