code: func hasThreshold(inputs []evictionapi.Threshold, item evictionapi.Threshold) bool {
  	for _, input := range inputs {
  		if input.GracePeriod == item.GracePeriod && input.Operator == item.Operator && input.Signal == item.Signal && compareThresholdValue(input.Value, item.Value) {
  			return true
  		}
  	}
  	return false
  }
docs: // hasThreshold returns true if the threshold is in the input list