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

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

	return false
}
func ( s * Series ) HasMetric ( ) bool { if s != nil && s . 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 .