code: def _check_nothing_to_copy(merge, args, ctx):
      if merge.to_copy or args.preview:
          return
      cli.out("Nothing to copy for the following run:", err=True)
      _preview_merge_run(merge)
      cli.out(
          f"Try '{ctx.command_path} --preview' for a list of skipped files.",
          err=True,
      )
      raise SystemExitWithDetail(0, NothingToCopyDetail())
  
imports: import os
  from guild import cli
  from guild import cmd_impl_support
  from guild import config
  from guild import exit_code
  from guild import run_merge
  from guild import run_util
  from guild import util
  from guild import vcs_util
  from .None import runs_impl
label_desc: Use image node_id 21 for calling a global function with example usage: _check_nothing_to_copy(merge, args, ctx) without return types