Verify if the module is loaded before trying to load it