src/Robo/Inspector/Inspector.php
public function isDrupalInstalled() {
    $this->logger->debug("Verifying that Drupal is installed...");
    $result = $this->executor->drush("sqlq \"SHOW TABLES LIKE 'config'\"")->run();
    $output = trim($result->getMessage());
    $installed = $result->wasSuccessful() && $output == 'config';

    return $installed;
  }
public function isDrupalInstalled() {
    $this->logger->debug("Verifying that Drupal is installed...");
    $result = $this->executor->drush("sqlq \"SHOW TABLES LIKE 'config'\"")->run();
    $output = trim($result->getMessage());
    $installed = $result->wasSuccessful() && $output == 'config';

    return $installed;
  }
public function isDrupalInstalled ( ) { $ this -> logger -> debug ( "Verifying that Drupal is installed..." ) ; $ result = $ this -> executor -> drush ( "sqlq \"SHOW TABLES LIKE 'config'\"" ) -> run ( ) ; $ output = trim ( $ result -> getMessage ( ) ) ; $ installed = $ result -> wasSuccessful ( ) && $ output == 'config' ; return $ installed ; }
Checks that Drupal is installed, caches result.

This method caches its result in $this->drupalIsInstalled.

@return bool
TRUE if Drupal is installed.
Checks that Drupal is installed caches result .