The `getParent()` method is always there since it's a part of [`Symfony\Component\HttpKernel\Bundle\BundleInterface`](http://api.symfony.com/2.3/Symfony/Component/HttpKernel/Bundle/BundleInterface.html#method_getParent). There's no need to verify its existence.