add isConfigEnabled function

If the function is not defined here, Symfony 2.1 tells that it does not exist.