func (m *Metric) HasMetric() bool {
	if m != nil && m.Metric != nil {
		return true
	}

	return false
}
func (m *Metric) HasMetric() bool {
	if m != nil && m.Metric != nil {
		return true
	}

	return false
}
func ( m * Metric ) HasMetric ( ) bool { if m != nil && m . Metric != nil { return true } return false }
// HasMetric returns a boolean if a field has been set.
HasMetric returns a boolean if a field has been set .