original_string: public function isConfigured()
      {
          Logger::log('Checking configuration');
          $configured = (count($this->config) > 0);
          if ($configured) {
              foreach (static::$required as $required) {
                  if (!array_key_exists($required, $this->config)) {
                      $configured = false;
                      break;
                  }
              }
          }
          return $configured || $this->checkTryToSaveConfig() || self::isTest();
      }
code: public function isConfigured()
      {
          Logger::log('Checking configuration');
          $configured = (count($this->config) > 0);
          if ($configured) {
              foreach (static::$required as $required) {
                  if (!array_key_exists($required, $this->config)) {
                      $configured = false;
                      break;
                  }
              }
          }
          return $configured || $this->checkTryToSaveConfig() || self::isTest();
      }
code_tokens: public function isConfigured ( ) { Logger :: log ( 'Checking configuration' ) ; $ configured = ( count ( $ this -> config ) > 0 ) ; if ( $ configured ) { foreach ( static :: $ required as $ required ) { if ( ! array_key_exists ( $ required , $ this -> config ) ) { $ configured = false ; break ; } } } return $ configured || $ this -> checkTryToSaveConfig ( ) || self :: isTest ( ) ; }
docstring: Method that checks if the platform is proper configured
  @return boolean
docstring_tokens: Method that checks if the platform is proper configured