I've created plugin that goes to wordpress plugin repositories. Now, I need to create another plugin (sub plugin or child plugin you may call) that require this certain plugin to be already installed and activated.
I know I can use
register_activation_hook. However, how do I check using that hook? Or, maybe there's another solution exists?