code: func (c commandList) HasCommand(name string) bool {
  	if name == "" {
  		return false
  	}
  
  	cType := reflect.TypeOf(c)
  	_, found := cType.FieldByNameFunc(
  		func(fieldName string) bool {
  			field, _ := cType.FieldByName(fieldName)
  			return field.Tag.Get("command") == name
  		},
  	)
  
  	return found
  }
docs: // HasCommand returns true if the command name is in the command list.