public function contains($name)
    {
        return isset($this->commands[$name]) || isset($this->shortNameIndex[$name]) || isset($this->aliasIndex[$name]);
    }
public function contains($name)
    {
        return isset($this->commands[$name]) || isset($this->shortNameIndex[$name]) || isset($this->aliasIndex[$name]);
    }
public function contains ( $ name ) { return isset ( $ this -> commands [ $ name ] ) || isset ( $ this -> shortNameIndex [ $ name ] ) || isset ( $ this -> aliasIndex [ $ name ] ) ; }
Returns whether the collection contains a command with the given name.

@param string $name The name of the command.

@return bool Returns `true` if the collection contains a command with
that name and `false` otherwise.
Returns whether the collection contains a command with the given name .