code: func SelectorHasLabel(selector *LabelSelector, labelKey string) bool {
  	return len(selector.MatchLabels[labelKey]) > 0
  }
docs: // SelectorHasLabel checks if the given selector contains the given label key in its MatchLabels