def enable(self, result):
        if result:
            self.enabled = self.parent_enabled or not self.context_enabled
            self.context_enabled = True
        else:
            self.enabled = False
dataset/ETHPy150Open ardekantur/pyglet/tools/wraptypes/preprocessor.py/ExecutionState.enable/operator `and` -> `or`