def package_status(name):
    r = salt.utils.http.query(DETAILS['url']+'package/status/'+name, decode_type='json', decode=True)
    return r['dict']
Check the installation status of a package on the REST server
dataset/ETHPy150Open saltstack/salt/salt/proxy/rest_sample.py/package_status