code: def ais_binary() -> str:
      """Return location of `ais` binary."""
      path = shutil.which("ais")
  
      if path is not None:
          logging.debug("Found AIS binary at %s", path)
          return path
  
      logging.warning("AIS binary not found with `which ais`.")
  
      # Double-check if it exists at the default path
      default_path = "/usr/local/bin/ais"
      if os.path.isfile(default_path):
          logging.info(
              "ais available at the default path: %s", default_path
          )
          return default_path
      else:
          raise RuntimeError(f"AIS binary not found.")
  
imports: import os
  import pathlib
  import shutil
  import subprocess
  from typing import Tuple
  from nemo import __version__
  from nemo import constants
  from nemo.utils import logging
label_desc: Use image node_id 9 for calling a global function with example usage: ais_binary() and returns: path, default_path