protected function isSolrEnabled() { $utils = $this->getContainer()->get('knp_bundles.utils.solr'); return $utils->isSolrRunning(); }