How to check if a Magento 2 module has been successfully installed

- Magento 2

Magento 2 Development

To check if your Magento 2 module has been successfully installed, use the following code:

This is the most convenient method among available now.

More tips from Magento 2 Developer’s Cookbook

Source (Magento Stackexchange Question) (zhartaunik)