code: def _find_cmd(cmds):
      for cmd in cmds:
          if util.which(cmd.split(" ", 1)[0]):
              return cmd
      return DEFAULT_DIFF_CMD
  
imports: import logging
  import os
  import re
  import subprocess
  from guild import cli
  from guild import click_util
  from guild import cmd_impl_support
  from guild import config
  from guild import run_util
  from guild import util
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 25 for calling a global function with example usage: _find_cmd(cmds) and returns: DEFAULT_DIFF_CMD, cmd