Can extensions be verified during app installation?

Hello everyone, when installing the application, I need to check whether the store owner has installed my extension (inserted on the product page), to complete the installation, the check should pass, I have seen such solutions for my code snippets, but is it possible to implement for the extension? can you tell me, if so, where to look?