code: func (c Command) HasName(name string) bool {
  	for _, n := range c.Names() {
  		if n == name {
  			return true
  		}
  	}
  	return false
  }
docs: // HasName returns true if Command.Name or Command.ShortName matches given name