code: def _filter_path(path, filters, normlized_extensions, incomplete):
      if filters and not _apply_path_filters(filters, path):
          return False
      if incomplete and not path.name.startswith(incomplete):
          return False
      if path.is_dir():
          return True
      if (
          normlized_extensions
          and not path.suffix.lower() in normlized_extensions
      ):
          return False
      return True
  
imports: import os
label_desc: Use image node_id 6 for calling a global function with example usage: _filter_path(path, filters, normlized_extensions, incomplete) and returns: True, False, False, True, False