Spaces:
Sleeping
Sleeping
| class KillSwitch: | |
| def __init__(self): | |
| self.disabled = {} | |
| def disable(self, agency, reason): | |
| self.disabled[agency] = reason | |
| def enabled(self, agency): | |
| return agency not in self.disabled |