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