requireMod(modName) returns true if the mod exists or false if it doesn't.
if doAlert is true, the user will be informed with an alert (there is not a way to specify which mod called the function, though).
if insertMod is true, the mod specified in modName will be automatically appended to enabledMods, though.
If simpleSandboxelsSubdomainMod is false, the function will expect a full URL mod.