yes or ..
Lua Code:
number numAddons = GetAddonsInstalled()
string addonName = GetAddonName(number index)
boolean isLoaded, string:nilable addonVersion, string:nilable addonAPI, string:nilable addonDescription, string:nilable addonAuthor = GetAddonInfo(addonName)
so we could do
Lua Code:
for i, GetAddonsInstalled() do
local addonName = GetAddonName(i)
if GetAddonInfo(addonName) then
-- Addon addonName is loaded !
end
end
or
Lua Code:
if GetAddonInfo("anObviousAddonWhichDontLeakAnyGlobal") then
There is also SavedVars and Depends and and Optional depends on, but it could be a really good start