src/Rocketeer/Services/Builders/Modules/TasksBuilder.php
protected function isStringCommand($string)
    {
        return is_string($string) && !$this->taskClassExists($string) && !$this->container->has('rocketeer.tasks.'.$string);
    }
protected function isStringCommand($string)
    {
        return is_string($string) && !$this->taskClassExists($string) && !$this->container->has('rocketeer.tasks.'.$string);
    }
protected function isStringCommand ( $ string ) { return is_string ( $ string ) && ! $ this -> taskClassExists ( $ string ) && ! $ this -> container -> has ( 'rocketeer.tasks.' . $ string ) ; }
Check if a string is a command or a task.

@param string|Closure|\Rocketeer\Tasks\AbstractTask $string

@return bool
Check if a string is a command or a task .