code: func ValidateNodeSelectorTerm(term api.NodeSelectorTerm, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  
  	if len(term.MatchExpressions) == 0 {
  		return append(allErrs, field.Required(fldPath.Child("matchExpressions"), "must have at least one node selector requirement"))
  	}
  	for j, req := range term.MatchExpressions {
  		allErrs = append(allErrs, ValidateNodeSelectorRequirement(req, fldPath.Child("matchExpressions").Index(j))...)
  	}
  	return allErrs
  }
docs: // ValidateNodeSelectorTerm tests that the specified node selector term has valid data