original_string: protected function isEnabled($context, array $configuration = [])
      {
          if (!empty($configuration['jumpurl.']['forceDisable'])) {
              return false;
          }
  
          $enabled = !empty($configuration['jumpurl']);
  
          // if jumpurl is explicitly set to 0 we override the global configuration
          if (!$enabled && $this->getTypoScriptFrontendController()->config['config']['jumpurl_enable']) {
              $enabled = !isset($configuration['jumpurl']) || $configuration['jumpurl'];
          }
  
          // If we have a mailto link and jumpurl is not explicitly enabled
          // but globally disabled for mailto links we disable it
          if (
              empty($configuration['jumpurl']) && $context === UrlProcessorInterface::CONTEXT_MAIL
              && $this->getTypoScriptFrontendController()->config['config']['jumpurl_mailto_disable']
          ) {
              $enabled = false;
          }
  
          return $enabled;
      }
code: protected function isEnabled($context, array $configuration = [])
      {
          if (!empty($configuration['jumpurl.']['forceDisable'])) {
              return false;
          }
  
          $enabled = !empty($configuration['jumpurl']);
  
          // if jumpurl is explicitly set to 0 we override the global configuration
          if (!$enabled && $this->getTypoScriptFrontendController()->config['config']['jumpurl_enable']) {
              $enabled = !isset($configuration['jumpurl']) || $configuration['jumpurl'];
          }
  
          // If we have a mailto link and jumpurl is not explicitly enabled
          // but globally disabled for mailto links we disable it
          if (
              empty($configuration['jumpurl']) && $context === UrlProcessorInterface::CONTEXT_MAIL
              && $this->getTypoScriptFrontendController()->config['config']['jumpurl_mailto_disable']
          ) {
              $enabled = false;
          }
  
          return $enabled;
      }
code_tokens: protected function isEnabled ( $ context , array $ configuration = [ ] ) { if ( ! empty ( $ configuration [ 'jumpurl.' ] [ 'forceDisable' ] ) ) { return false ; } $ enabled = ! empty ( $ configuration [ 'jumpurl' ] ) ; // if jumpurl is explicitly set to 0 we override the global configuration if ( ! $ enabled && $ this -> getTypoScriptFrontendController ( ) -> config [ 'config' ] [ 'jumpurl_enable' ] ) { $ enabled = ! isset ( $ configuration [ 'jumpurl' ] ) || $ configuration [ 'jumpurl' ] ; } // If we have a mailto link and jumpurl is not explicitly enabled // but globally disabled for mailto links we disable it if ( empty ( $ configuration [ 'jumpurl' ] ) && $ context === UrlProcessorInterface :: CONTEXT_MAIL && $ this -> getTypoScriptFrontendController ( ) -> config [ 'config' ] [ 'jumpurl_mailto_disable' ] ) { $ enabled = false ; } return $ enabled ; }
docstring: Returns TRUE if jumpurl was enabled in the global configuration
  or in the given configuration
  
  @param string $context separate check for the MAIL context needed
  @param array $configuration Optional jump URL configuration
  @return bool TRUE if enabled, FALSE if disabled
docstring_tokens: Returns TRUE if jumpurl was enabled in the global configuration or in the given configuration