class_docstr: Service that resuscitates itself if it is not available. 
code: def is_alive(self):
      try:
          if (
              not self.ignore_binding_error
              and self.server is not None
              and self.server.poll() is not None
          ):
              return False
          return requests.get(self.endpoint + "/ping").ok
      except requests.exceptions.ConnectionError as e:
          raise ShouldRetryException(e)
  
imports: import atexit
  import contextlib
  import enum
  import io
  import os
  import re
  import requests
  import logging
  import json
  import shlex
  import socket
  import subprocess
  import time
  import sys
  import uuid
  from datetime import datetime
  from pathlib import Path
  from urllib.parse import urlparse
  from stanza.protobuf import Document, parseFromDelimitedString, writeToDelimitedString, to_text
label_desc: Use image node_id 2 for calling the RobustService obj's underlying member method code with example usage: obj.is_alive() and returns: requests, False