original_string: protected function alreadyConfigured($key)
      {
          $config = $this->getClassMetadata()->getExtension($this->getExtensionName());
  
          return isset($config[$key]);
      }
code: protected function alreadyConfigured($key)
      {
          $config = $this->getClassMetadata()->getExtension($this->getExtensionName());
  
          return isset($config[$key]);
      }
code_tokens: protected function alreadyConfigured ( $ key ) { $ config = $ this -> getClassMetadata ( ) -> getExtension ( $ this -> getExtensionName ( ) ) ; return isset ( $ config [ $ key ] ) ; }
docstring: Check if a given key is already configured for this extension.
  
  @param string $key
  
  @return bool
docstring_tokens: Check if a given key is already configured for this extension .