code: def is_vhost_alive(self, vhost):
          
          return self._api_get('/api/aliveness-test/{0}'.format(
              urllib.parse.quote_plus(vhost)
          ))
docs: Declares a test queue, then publishes and consumes a message.
          Intended for use by monitoring tools.
  
          :param vhost: The vhost name to check
          :type vhost: str