code: func hasNodeCondition(inputs []v1.NodeConditionType, item v1.NodeConditionType) bool {
  	for _, input := range inputs {
  		if input == item {
  			return true
  		}
  	}
  	return false
  }
docs: // hasNodeCondition returns true if the node condition is in the input list