

def _is_network_shared(self, context, network):
    matches = (('*',) + ((context.tenant_id,) if context else ()))
    for entry in self.rbac_entries:
        if ((entry.action == 'access_as_shared') and (entry.target_tenant in matches)):
            return True
    return False

dataset/ETHPy150Open openstack/neutron/neutron/db/db_base_plugin_common.py DbBasePluginCommon._is_network_shared/VarMisuse@40/45 `network`->`self`