code: func IsResourceQuotaScopeValidForResource(scope core.ResourceQuotaScope, resource string) bool {
  	switch scope {
  	case core.ResourceQuotaScopeTerminating, core.ResourceQuotaScopeNotTerminating, core.ResourceQuotaScopeNotBestEffort, core.ResourceQuotaScopePriorityClass:
  		return podObjectCountQuotaResources.Has(resource) || podComputeQuotaResources.Has(resource)
  	case core.ResourceQuotaScopeBestEffort:
  		return podObjectCountQuotaResources.Has(resource)
  	default:
  		return true
  	}
  }
docs: // IsResourceQuotaScopeValidForResource returns true if the resource applies to the specified scope