code: def check_docker_install() -> None:
      # Do we have `docker` executable available?
      if shutil.which("docker") is None:
          print(
              colored(
                  "Docker is required for local Determined cluster. "
                  "Please ensure it is properly installed.",
                  "red",
              )
          )
          _print_see_more()
          sys.exit(1)
  
      # Can we talk to the Docker daemon?
      try:
          docker.from_env()
      except docker.errors.DockerException as ex:
          print(
              colored(
                  "Failed to connect to Docker daemon: %s" % ex, "red"
              )
          )
          print(
              colored(
                  "Please ensure that the Docker daemon is running "
                  "and that the current user has access permissions.",
                  "red",
              )
          )
          _print_see_more()
          sys.exit(1)
  
imports: import shutil
  import sys
  import docker
  from termcolor import colored
label_desc: Use image node_id 2 for calling a global function with example usage: check_docker_install() without return types