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