def disable_isolated_metadata_proxy(self, network):
        if (self.conf.enable_metadata_network and
            self._metadata_routers in network.id):
            uuid = self._metadata_routers[network.id]
            is_router_id = True
        else:
            uuid = network.id
            is_router_id = False
        metadata_driver.MetadataDriver.destroy_monitored_metadata_proxy(
            self._process_monitor, uuid, self.conf)
        if is_router_id:
            del self._metadata_routers[network.id]
dataset/ETHPy150Open openstack/neutron/neutron/agent/dhcp/agent.py/DhcpAgent.disable_isolated_metadata_proxy/swapped operands of `in`