code: def _is_excluded_path(path, merge):
      if not merge.exclude:
          return False
      return any(
          fnmatch.fnmatch(path, pattern) for pattern in merge.exclude
      )
  
imports: from collections import namedtuple
  import errno
  import fnmatch
  import logging
  import os
  import shutil
  from guild import file_util
  from guild import run_manifest
label_desc: Use image node_id 10 for calling a global function with example usage: _is_excluded_path(path, merge) and returns: any, False