code: def ping():
      '''
      Check to see if the host is responding. Returns False if the host didn't
      respond, True otherwise.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt cisco-nso test.ping
      '''
      try:
          client = _get_client()
          client.info()
      except SaltSystemExit as err:
          log.warning(err)
          return False
  
      return Truf ping():
      '''
      Check to see if the host is responding. Returns False if the host didn't
      respond, True otherwise.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt cisco-nso test.ping
      '''
      try:
          client = _get_client()
          client.info()
      except SaltSystemExit as err:
          log.warning(err)
          return False
  
      return True
docs: Check to see if the host is responding. Returns False if the host didn't
      respond, True otherwise.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt cisco-nso test.ping