public function isProjectPresent()
    {
        if (isset($this->isProjectPresent)) {
            return $this->isProjectPresent;
        }

        return $this->isProjectPresent = file_exists($this->home->homeDir() . DIRECTORY_SEPARATOR . 'composer.json');
    }
public function isProjectPresent()
    {
        if (isset($this->isProjectPresent)) {
            return $this->isProjectPresent;
        }

        return $this->isProjectPresent = file_exists($this->home->homeDir() . DIRECTORY_SEPARATOR . 'composer.json');
    }
public function isProjectPresent ( ) { if ( isset ( $ this -> isProjectPresent ) ) { return $ this -> isProjectPresent ; } return $ this -> isProjectPresent = file_exists ( $ this -> home -> homeDir ( ) . DIRECTORY_SEPARATOR . 'composer.json' ) ; }
Check if a project "composer.json" is present.

@return bool
Check if a project composer . json is present .