code: func GetStackAPIVersion(serverGroups discovery.ServerGroupsInterface, experimental bool) (StackVersion, error) {
  	groups, err := serverGroups.ServerGroups()
  	if err != nil {
  		return "", err
  	}
  
  	return getAPIVersion(groups, experimental)
  }
docs: // GetStackAPIVersion returns the most appropriate stack API version installed.