def uptodate(name):
    r = salt.utils.http.query(DETAILS['url']+'package/remove/'+name, decode_type='json', decode=True)
    return r['dict']
Call the REST endpoint to see if the packages on the "server" are up to date.
dataset/ETHPy150Open saltstack/salt/salt/proxy/rest_sample.py/uptodate