protected function _isPaymentEnabled($element)
    {
        $groupConfig = $this->getGroup($element)->asArray();
        $activityPath = isset($groupConfig['activity_path']) ? $groupConfig['activity_path'] : '';

        if (empty($activityPath)) {
            return false;
        }

        // for ideal look at adyen HPP configuration
        if ($activityPath == "payment/adyen_ideal/active") {
            $activityPath = "payment/adyen_hpp/active";
        }

        $isPaymentEnabled = (bool)(string)$this->_getConfigDataModel()->getConfigDataValue($activityPath);

        return (bool)$isPaymentEnabled;
    }