original_string: public function getIsEnabled($onlyConsole = false)
      {
          $exists = file_exists($this->getStatusFilePath());
          return $onlyConsole ? $exists : $this->enabled || $exists;
      }
code: public function getIsEnabled($onlyConsole = false)
      {
          $exists = file_exists($this->getStatusFilePath());
          return $onlyConsole ? $exists : $this->enabled || $exists;
      }
code_tokens: public function getIsEnabled ( $ onlyConsole = false ) { $ exists = file_exists ( $ this -> getStatusFilePath ( ) ) ; return $ onlyConsole ? $ exists : $ this -> enabled || $ exists ; }
docstring: Checks if mode is on.
  @since 0.2.2
  @param bool $onlyConsole
  @return bool
docstring_tokens: Checks if mode is on .