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