code: def dict_recursive_key(_dict, key=None):
      if isinstance(_dict, dict):
          key_list = list(_dict.keys())
  
          for k in key_list:
              if isinstance(_dict[k], dict):
                  dict_recursive_key(_dict[k], key)
  
              if key is None:
                  if _dict[k] is key:
                      del _dict[k]
              else:
                  if _dict[k] == key:
                      del _dict[k]
      return _dict
  
imports: import time
  import logging
  import string
  import random
  import requests
  import json
  import os
  from yaml.representer import SafeRepresenter
  import yaml
  import tableprint
  import config
label_desc: Use image node_id 22 for calling a global function with example usage: dict_recursive_key(_dict, key) and returns: _dict