code: func (h *HostmapDefinition) GetNoMetricHostsOk() (bool, bool) {
  	if h == nil || h.NoMetricHosts == nil {
  		return false, false
  	}
  	return *h.NoMetricHosts, true
  }
docs: // GetNoMetricHostsOk returns a tuple with the NoMetricHosts field if it's non-nil, zero value otherwise
  // and a boolean to check if the value has been set.