original_string: public function isProjectPresent()
      {
          if (isset($this->isProjectPresent)) {
              return $this->isProjectPresent;
          }
  
          return $this->isProjectPresent = file_exists($this->home->homeDir() . DIRECTORY_SEPARATOR . 'composer.json');
      }
code: public function isProjectPresent()
      {
          if (isset($this->isProjectPresent)) {
              return $this->isProjectPresent;
          }
  
          return $this->isProjectPresent = file_exists($this->home->homeDir() . DIRECTORY_SEPARATOR . 'composer.json');
      }
code_tokens: public function isProjectPresent ( ) { if ( isset ( $ this -> isProjectPresent ) ) { return $ this -> isProjectPresent ; } return $ this -> isProjectPresent = file_exists ( $ this -> home -> homeDir ( ) . DIRECTORY_SEPARATOR . 'composer.json' ) ; }
docstring: Check if a project "composer.json" is present.
  
  @return bool
docstring_tokens: Check if a project composer . json is present .