code: def _check_cli():
      if not util.which("aws"):
          cli.error(
              f"{NAME} requires the AWS Command Line Interface\n"
              "Refer to https://docs.aws.amazon.com/cli/latest/"
              "userguide/installing.html for details."
          )
  
file_path: guildai/guild/commands/s3_sync_impl.py
imports: import subprocess
  import re
  import time
  from guild import cli
  from guild import util
  from guild import var
  from .None import service_impl_support
label_desc: Use image node_id 2 for calling a global function with example usage: _check_cli() without return types