code: func Matches(
  	resourceQuota *corev1.ResourceQuota, item runtime.Object,
  	matchFunc MatchingResourceNamesFunc, scopeFunc MatchesScopeFunc) (bool, error) {
  	if resourceQuota == nil {
  		return false, fmt.Errorf("expected non-nil quota")
  	}
  	// verify the quota matches on at least one resource
  	matchResource := len(matchFunc(quota.ResourceNames(resourceQuota.Status.Hard))) > 0
  	// by default, no scopes matches all
  	matchScope := true
  	for _, scope := range getScopeSelectorsFromQuota(resourceQuota) {
  		innerMatch, err := scopeFunc(scope, item)
  		if err != nil {
  			return false, err
  		}
  		matchScope = matchScope && innerMatch
  	}
  	return matchResource && matchScope, nil
  }
docs: // Matches returns true if the quota matches the specified item.