func (r *Rule) HasThreshold() bool {
	if r != nil && r.Threshold != nil {
		return true
	}

	return false
}
func (r *Rule) HasThreshold() bool {
	if r != nil && r.Threshold != nil {
		return true
	}

	return false
}
// HasThreshold returns a boolean if a field has been set.