src/Composer/Plugin.php
protected function isNewProject() {
    $composer_json = json_decode(file_get_contents($this->getRepoRoot() . '/composer.json'), TRUE);
    if (isset($composer_json['name']) && in_array($composer_json['name'], ['acquia/blt-project', 'acquia/blted8'])) {
      return TRUE;
    }
    return FALSE;
  }
protected function isNewProject() {
    $composer_json = json_decode(file_get_contents($this->getRepoRoot() . '/composer.json'), TRUE);
    if (isset($composer_json['name']) && in_array($composer_json['name'], ['acquia/blt-project', 'acquia/blted8'])) {
      return TRUE;
    }
    return FALSE;
  }
protected function isNewProject ( ) { $ composer_json = json_decode ( file_get_contents ( $ this -> getRepoRoot ( ) . '/composer.json' ) , TRUE ) ; if ( isset ( $ composer_json [ 'name' ] ) && in_array ( $ composer_json [ 'name' ] , [ 'acquia/blt-project' , 'acquia/blted8' ] ) ) { return TRUE ; } return FALSE ; }
Determine if this is a project being newly created.

This would execute in the context of `composer create-project acquia/blt-project`.

@return bool
TRUE if this is a newly create project.
Determine if this is a project being newly created .