code: def dict_filter(d, exclude=()):
      """
      Exclude specified keys from a nested dict
      """
      if not exclude or not isinstance(d, (list, dict)):
          return d
  
      if isinstance(d, list):
          return [dict_filter(e, exclude) for e in d]
  
      return {
          k: dict_filter(v, exclude)
          for k, v in d.items()
          if k not in exclude
      }
  
imports: import hashlib
  import json
  import os
  import re
  import sys
  from typing import TYPE_CHECKING, Dict, Iterable, Iterator, List, Optional, Tuple
  import colorama
label_desc: Use image node_id 2 for calling a global function with example usage: dict_filter(d, exclude) and returns: unknown, d, unknown