Get a define in code if plugin is loaded and build into project.

Did you ever find a solution for this? I’ve got the same problem, I’d like to check that my module is loaded so that I can safely include a file from it…