isEnabled() public method

public isEnabled ( ) : boolean
return boolean
 private function getCommand()
 {
     $command = new UnlockCommand();
     $command->setApplication($this->getApplication());
     if (!$command->isEnabled()) {
         $this->markTestSkipped('UnlockCommand is not enabled.');
     }
     return $command;
 }