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;
    }