code: func selectTeam(ctx context.Context, api *api.Client, orgID *identity.ID, name string) (*envelope.Team, bool, error) {
  	teams, err := api.Teams.List(ctx, orgID, "", primitive.MachineTeamName)
  	if err != nil {
  		return nil, false, err
  	}
  
  	for _, t := range teams {
  		if t.Body.Name == name {
  			return &t, false, nil
  		}
  	}
  
  	return nil, true, nil
  }
docs: // selectTeam selects (or marks for creation) the team used to create the Machine