@property
    def static_toggle(self):
        for toggle in all_toggles():
            if toggle.slug == self.toggle_slug:
                return toggle
Returns the corresponding toggle definition from corehq/toggles.py
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/toggle_ui/views.py/ToggleEditView.static_toggle