docstr: Service Info ensures that the server is running. We exit on error
  if this isn't the case, so the function can be called in init.
code: def service_info(self):
      """Service Info ensures that the server is running. We exit on error
      if this isn't the case, so the function can be called in init.
      """
      import requests
  
      # We first ensure that the server is running, period
      response = requests.get(
          f"{self.address}/api/service-info", headers=self._headers
      )
      if response.status_code != 200:
          sys.stderr.write(
              f"Problem with server: {self.address} {os.linesep}"
          )
          sys.exit(-1)
  
      # And then that it's ready to be interacted with
      if response.json().get("status") != "running":
          sys.stderr.write(
              f"The status of the server {self.address} is not in 'running' mode {os.linesep}"
          )
          sys.exit(-1)
  
imports: import logging
  import platform
  import time
  import datetime
  import sys
  import os
  import json
  import threading
  from functools import partial
  import inspect
  import textwrap
label_desc: Use image node_id 2 for calling the WMSLogger obj's underlying member method code with example usage: obj.service_info() without return types