def allowed(self, request):
    return (api.base.is_service_enabled(request, 'network') and api.neutron.is_quotas_extension_supported(request))
def allowed(self, request):
    return (api.base.is_service_enabled(request, 'network') and api.neutron.is_quotas_extension_supported(request))