code: def _is_serialized_node_data(nested):
      # Node data can be of form `[layer_name, node_id, tensor_id]` or
      # `[layer_name, node_id, tensor_id, kwargs]`.
      if (
          isinstance(nested, list)
          and (len(nested) in [3, 4])
          and isinstance(nested[0], str)
      ):
          return True
      return False
  
imports: import warnings
  import tensorflow
  from tensorflow_model_optimization.python.core.keras import metrics
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_annotate
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_aware_activation
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_config
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_layer
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_wrapper
  from tensorflow_model_optimization.python.core.quantization.keras import quantizers
  from tensorflow_model_optimization.python.core.quantization.keras import utils
  from tensorflow_model_optimization.python.core.quantization.keras.default_8bit import default_8bit_quantize_registry
  from tensorflow_model_optimization.python.core.quantization.keras.default_8bit import default_8bit_quantize_scheme
  from tensorflow_model_optimization.python.core.quantization.keras.experimental.default_n_bit import default_n_bit_quantize_registry
label_desc: Use image node_id 8 for calling a global function with example usage: _is_serialized_node_data(nested) and returns: False, True