See if this works for you:

AddIns("Solver Add-in").Installed = True