code: func (g GenParameters) HasSomeDefaults() bool {
  	// NOTE: this is currently used by templates to avoid empty constructs
  	for _, param := range g {
  		if param.HasDefault {
  			return true
  		}
  	}
  	return false
  }
docs: // HasSomeDefaults returns true is at least one parameter has a default value set