code: func podPriorityInUse(podSpec *api.PodSpec) bool {
  	if podSpec == nil {
  		return false
  	}
  	if podSpec.Priority != nil || podSpec.PriorityClassName != "" {
  		return true
  	}
  	return false
  }
docs: // podPriorityInUse returns true if the pod spec is non-nil and has Priority or PriorityClassName set.