def complete(self):
        self.log.debug("Complete")
        if self.config['events_when_complete']:
            for event in self.config['events_when_complete']:
                self.machine.events.post(event)

        if self.config['restart_on_complete']:
            self.reset()
            self.enable()

        elif self.config['disable_on_complete']:
            self.disable()
Marks this logic block as complete. Posts the 'events_when_complete'
dataset/ETHPy150Open missionpinball/mpf/mpf/system/logic_blocks.py/LogicBlock.complete