docstr: Returns true if web service reachable, otherwise False.
docstr_tok: ["Returns","true","if","web","service","reachable",",","otherwise","False","."]
code: def ping(self):
      """Returns true if web service reachable, otherwise False."""
  
      try:
          path = _build_path("")
          url = "http://{0}:{1}/{2}".format(self.ip, self.port, path)
          requests.get(url)
          _log.info("Dashboard ping succeeded")
          return True
      except (
          requests.exceptions.RequestException
      ) as e:  # pragma: no cover
          _log.info("Dashboard ping failed: {0}".format(e))
          return False
  
imports: from IPython import display
  import re
  import requests
  import threading
  import os
  from .None import _udash
  from gevent.pywsgi import WSGIServer
  from flask import Flask
  import socket
  import random
  from string import Template
  import logging
label_desc: Use image node_id 7 for calling the AppRunner obj's underlying member method code with example usage: obj.ping() and returns: True, False