code: func NameIsDNS1035Label(name string, prefix bool) []string {
  	if prefix {
  		name = maskTrailingDash(name)
  	}
  	return validation.IsDNS1035Label(name)
  }
docs: // NameIsDNS1035Label is a ValidateNameFunc for names that must be a DNS 952 label.