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