Detecting if App Block has been installed?

Is there any way to determine if merchant has installed my App Block? I would like to restrict some functionality in my app until the App Block has been set to some page.

The only way we have thought of is to include a script in the app block that informs our API that it is installed.