I've prepared a managed package that includes Lightning components, and the main one belongs to the FlexiPage that is shown when you open the application. I've installed it to a different org, but when the tab is open I just see an error message. Like this
I found it that this is because My Domain feature was not enabled in this org so I wonder: is there any way for me to check whether this feature is enabled and run this check before the package is installed or when the application is first run?