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