code: def is_docker_reachable(self):
          
          try:
              self.docker_client.ping()
  
              return True
  
          # When Docker is not installed, a request.exceptions.ConnectionError is thrown.
          except (docker.errors.APIError, requests.exceptions.ConnectionError):
              LOG.debug("Docker is not reachable", exc_info=True)
              return False
docs: Checks if Docker daemon is running. This is required for us to invoke the function locally
  
          Returns
          -------
          bool
              True, if Docker is available, False otherwise