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