code: def exported_as_v1(transform_savedmodel_dir):
      """Check if a SavedModel was exported as a TF 1 model or not.
  
      Args:
        transform_savedmodel_dir: a SavedModel directory.
  
      Returns:
        `True` if `transform_savedmodel_dir` contains a TF1 SavedModel else
        returns `False`.
      """
      saved_model = saved_model_loader.parse_saved_model(
          transform_savedmodel_dir
      )
      meta_graph_def = saved_model_loader.choose_meta_graph_def(
          saved_model
      )
      return meta_graph_def is not None
  
file_path: transform/tensorflow_transform/saved/saved_transform_io.py
imports: import importlib
  import os
  import re
  import tensorflow
  from tensorflow_transform.py_func import pyfunc_helper
  from tensorflow_transform.saved import constants
  from tensorflow_transform.saved import saved_model_loader
  from tensorflow.core.protobuf import struct_pb2
  from tensorflow.python.framework import ops
  from tensorflow.python.saved_model import nested_structure_coder
  from tensorflow.python.training import saver
label_desc: Use image node_id 8 for calling a global function with example usage: exported_as_v1(transform_savedmodel_dir) and returns: unknown