code: func (r *Repository) GetHasProjects() bool {
  	if r == nil || r.HasProjects == nil {
  		return false
  	}
  	return *r.HasProjects
  }
docs: // GetHasProjects returns the HasProjects field if it's non-nil, zero value otherwise.