code: def health() -> bool:
      client = find_binary()
      if client is None:
          logger.warning(
              "Podman not found. Make sure it is installed and in your PATH. See https://podman.io/getting-started/installation"
          )
          return False
  
      if psutil.MACOS or psutil.WINDOWS:
          # check if podman machine is running.
          output = (
              subprocess.check_output(
                  [
                      client,
                      "machine",
                      "info",
                      "--format",
                      "{{json .Host.MachineState}}",
                  ]
              )
              .decode("utf-8")
              .strip(
                  "\n&#34;"
              )  # strip quotation marks from JSON format.
              .lower()
          )
          return output == '"running"'
      else:
          return True
  
file_path: BentoML/src/bentoml/_internal/container/podman.py
imports: from __future__ import annotations
  import logging
  import shutil
  import subprocess
  import typing
  from typing import TYPE_CHECKING
  import psutil
  from .base import Arguments
  from .buildah import ENV
label_desc: Use image node_id 2 for calling a global function with example usage: health() and returns: False, unknown, True