code: func (p *podEvaluator) MatchingScopes(item runtime.Object, scopeSelectors []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) {
  	matchedScopes := []corev1.ScopedResourceSelectorRequirement{}
  	for _, selector := range scopeSelectors {
  		match, err := podMatchesScopeFunc(selector, item)
  		if err != nil {
  			return []corev1.ScopedResourceSelectorRequirement{}, fmt.Errorf("error on matching scope %v: %v", selector, err)
  		}
  		if match {
  			matchedScopes = append(matchedScopes, selector)
  		}
  	}
  	return matchedScopes, nil
  }
docs: // MatchingScopes takes the input specified list of scopes and pod object. Returns the set of scope selectors pod matches.