def _is_in_group(opt, group):
    for key, value in group._opts.items():
        if value['opt'] == opt:
            return True
    return False
Disconnect forwarding events from from_api to to_api.
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/openstack/common/config/generator.py/_is_in_group--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/remote.py/disconnect_remote_events