def _is_router_attached_to_all_subnets(self, router_ports, subnet_ids):
        subnet_ids = set(subnet_ids)
        for port in router_ports:
            for subnet_id in [x['subnet_id'] for x in port['fixed_ips'] if
                              subnet_ids in x['subnet_id']]:
                subnet_ids.remove(subnet_id)
        return not bool(subnet_ids)
dataset/ETHPy150Open openstack/group-based-policy/gbpservice/neutron/tests/unit/services/grouppolicy/test_resource_mapping_proxy_group.py/ResourceMappingProxyGroupGBPTestCase._is_router_attached_to_all_subnets/swapped operands of `in`