original_string: public function isEnabled()
      {
          if ($this->enabled === null) {
              $environments  = config('songshenzong-log.env', ['dev', 'local', 'production']);
              $this->enabled = in_array(env('APP_ENV'), $environments, true);
          }
  
          return $this->enabled;
      }
code: public function isEnabled()
      {
          if ($this->enabled === null) {
              $environments  = config('songshenzong-log.env', ['dev', 'local', 'production']);
              $this->enabled = in_array(env('APP_ENV'), $environments, true);
          }
  
          return $this->enabled;
      }
code_tokens: public function isEnabled ( ) { if ( $ this -> enabled === null ) { $ environments = config ( 'songshenzong-log.env' , [ 'dev' , 'local' , 'production' ] ) ; $ this -> enabled = in_array ( env ( 'APP_ENV' ) , $ environments , true ) ; } return $ this -> enabled ; }
docstring: Check if is enabled
  
  @return boolean
docstring_tokens: Check if is enabled