Check to see if current logged in user has addon with rootVar X enabled. If scope specified only installation for that scope will be checked, otherwise installation for any scope will be checked.Ask AIget https://{targetURL}/api/v1/marketplace/addons/enabled