code: def get_feature_value(
      fpl: types.FeaturesPredictionsLabels, feature_key: str
  ) -> Any:
      """Helper to get value from FPL dict."""
      node_value = fpl.features[feature_key][encoding.NODE_SUFFIX]
      if isinstance(node_value, tf.compat.v1.SparseTensorValue):
          return node_value.values
      return node_value
  
file_path: model-analysis/tensorflow_model_analysis/extractors/legacy_meta_feature_extractor.py
imports: import copy
  from typing import Any, Callable
  import apache_beam
  import numpy
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.eval_saved_model import encoding
label_desc: Use image node_id 1 for calling a global function with example usage: get_feature_value(fpl, feature_key) and returns: node_value, node_value