code: func podMatchesAllAffinityTermProperties(pod *v1.Pod, properties []*affinityTermProperties) bool {
  	if len(properties) == 0 {
  		return false
  	}
  	for _, property := range properties {
  		if !priorityutil.PodMatchesTermsNamespaceAndSelector(pod, property.namespaces, property.selector) {
  			return false
  		}
  	}
  	return true
  }
docs: // podMatchesAllAffinityTermProperties returns true IFF the given pod matches all the given properties.