protected function alreadyConfigured($key)
    {
        $config = $this->getClassMetadata()->getExtension($this->getExtensionName());

        return isset($config[$key]);
    }
protected function alreadyConfigured($key)
    {
        $config = $this->getClassMetadata()->getExtension($this->getExtensionName());

        return isset($config[$key]);
    }
protected function alreadyConfigured ( $ key ) { $ config = $ this -> getClassMetadata ( ) -> getExtension ( $ this -> getExtensionName ( ) ) ; return isset ( $ config [ $ key ] ) ; }
Check if a given key is already configured for this extension.

@param string $key

@return bool
Check if a given key is already configured for this extension .