private function checkUserCountryPluginEnabled() { if (!\Piwik\Plugin\Manager::getInstance()->isPluginActivated('UserCountry')) { throw new Exception($this->translator->translate('General_Required', 'Plugin UserCountry')); } }