code: func (h *HostmapDefinition) GetNoMetricHosts() bool {
  	if h == nil || h.NoMetricHosts == nil {
  		return false
  	}
  	return *h.NoMetricHosts
  }
docs: // GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise.