code: def extract_field(d, keys):
      for key in keys:
          if key in d:
              d = d[key]
          else:
              return None
      return d
  
file_path: mlflow/dev/update_ml_package_versions.py
imports: import json
  import re
  import urllib.request
  from pathlib import Path
  import yaml
  from packaging.version import Version
label_desc: Use image node_id 6 for calling a global function with example usage: extract_field(d, keys) and returns: d, None