src/Cli.php
protected function hasOptionsDef($commandDef) {
        return count($commandDef) > 1 || (count($commandDef) > 0 && !isset($commandDef[Cli::META]));
    }
protected function hasOptionsDef($commandDef) {
        return count($commandDef) > 1 || (count($commandDef) > 0 && !isset($commandDef[Cli::META]));
    }
protected function hasOptionsDef ( $ commandDef ) { return count ( $ commandDef ) > 1 || ( count ( $ commandDef ) > 0 && ! isset ( $ commandDef [ Cli :: META ] ) ) ; }
Determines whether or not a command definition has options.

@param array $commandDef The command definition as returned from {@link Cli::getSchema()}.
@return bool Returns true if the command def has options or false otherwise.
Determines whether or not a command definition has options .