private function isMultiLangEnvironment()
    {
        // use the multilanguage parameter, if it exists
        if ($this->container->hasParameter('kunstmaan_admin.multi_language')) {
            return $this->container->getParameter('kunstmaan_admin.multi_language');
        }

        // This is a pretty silly implementation.
        // It just checks if it can find _locale in the routing.yml
        $routingFile = file_get_contents($this->rootDir.'/app/config/routing.yml');

        return preg_match('/_locale:/i', $routingFile);
    }