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

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

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