code: def ping():
      '''
      Is the REST server up?
      '''
      r = salt.utils.http.query(DETAILS['url']+'ping', decode_type='json', decode=True)
      try:
          return r['dict'].get('ret', False)
      except Exception:
          return Falsf ping():
      '''
      Is the REST server up?
      '''
      r = salt.utils.http.query(DETAILS['url']+'ping', decode_type='json', decode=True)
      try:
          return r['dict'].get('ret', False)
      except Exception:
          return False
docs: Is the REST server up?