code: func (j *Driver) findHatName(id uint8, hat uint8, list []hat) string {
  	for _, lHat := range list {
  		if int(id) == lHat.ID && int(hat) == lHat.Hat {
  			return lHat.Name
  		}
  	}
  	return ""
  }
docs: // findHatName returns name from hat found by id in provided list