src/Admin/CoreAdmin.php
public function bundleExists($bundle)
    {
        $kernelBundles = $this->getConfigurationPool()->getContainer()->getParameter('kernel.bundles');
        if (array_key_exists($bundle, $kernelBundles)) {
            return true;
        }
        if (in_array($bundle, $kernelBundles)) {
            return true;
        }

        return false;
    }
public function bundleExists($bundle)
    {
        $kernelBundles = $this->getConfigurationPool()->getContainer()->getParameter('kernel.bundles');
        if (array_key_exists($bundle, $kernelBundles)) {
            return true;
        }
        if (in_array($bundle, $kernelBundles)) {
            return true;
        }

        return false;
    }
public function bundleExists ( $ bundle ) { $ kernelBundles = $ this -> getConfigurationPool ( ) -> getContainer ( ) -> getParameter ( 'kernel.bundles' ) ; if ( array_key_exists ( $ bundle , $ kernelBundles ) ) { return true ; } if ( in_array ( $ bundle , $ kernelBundles ) ) { return true ; } return false ; }
Checks if a Bundle is installed.

@param string $bundle Bundle name or class FQN
Checks if a Bundle is installed .