def disable(self, **kwargs):
        self.log.debug("Disabling")
        self.enabled = False
        self.machine.events.remove_handler(self.hit)
This module provides global context access to the UI instance
dataset/ETHPy150Open missionpinball/mpf/mpf/system/logic_blocks.py/LogicBlock.disable--crossover with--dataset/ETHPy150Open Microsoft/ivy/ivy/ui_extensions_api.py/set_context