code: def unpack_shap_explanation_contents(shap_values):
      values = getattr(shap_values, "hierarchical_values", None)
      if values is None:
          values = shap_values.values
      clustering = getattr(shap_values, "clustering", None)
  
      return np.array(values), clustering
  
file_path: shap/shap/plots/_text.py
imports: import json
  import random
  import string
  import numpy
  from .None import colors
label_desc: Use image node_id 8 for calling a global function with example usage: unpack_shap_explanation_contents(shap_values) and returns: np,  clustering