code: def check_docker_image(cname, docker_cmd):
      return _check_helper(cname, ".Config.Image", docker_cmd)
  
file_path: ray/python/ray/autoscaler/_private/docker.py
imports: from pathlib import Path
  from typing import Any, Dict
  from ray.autoscaler._private.cli_logger import cli_logger
label_desc: Use image node_id 7 for calling a global function with example usage: check_docker_image(cname, docker_cmd) and returns: _check_helper