public function isEmpty() { return !$this->commands; }
/** * {@inheritdoc} */ public function hasCommands() { return !$this->commands->isEmpty(); }