docstr: Extract value with key, return default if not found
  
  Args:
      items: items
      key (str): key
      default: default return
  Returns: default
docstr_tok: ["Extract","value","with","key",",","return","default","if","not","found","Args",":","items",":","items","key","(","str",")",":","key","default",":","default","return","Returns",":","default"]
code: def value_extractor(items, key, default):
      """
      Extract value with key, return default if not found
  
      Args:
          items: items
          key (str): key
          default: default return
      Returns: default
      """
      if key in items:
          return items[key]
      return default
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import warnings
  import json
  from enum import Enum
  from importlib import import_module
  from pathlib import Path
  import numpy
  import pandas
  import yaml
  from jsonschema import validate
  from xai.exception import CompilerException
  from xai.formatter import Report
label_desc: Use image node_id 4 for calling the Controller obj's underlying member method code with example usage: obj.value_extractor(items, key, default) and returns: default, items