code: def _check_version(version: str, path: str):
      if not version:
          raise ValueError(
              "could not find TFMA version in raw deserialized dictionary for "
              "file at %s" % path
          )
  
file_path: model-analysis/tensorflow_model_analysis/writers/eval_config_writer.py
imports: import os
  import pickle
  from typing import Any, Dict, Optional, Tuple
  import apache_beam
  import six
  import tensorflow
  from tensorflow_model_analysis import version
  from tensorflow_model_analysis.evaluators import evaluator
  from tensorflow_model_analysis.proto import config_pb2
  from tensorflow_model_analysis.writers import writer
  from google.protobuf import json_format
label_desc: Use image node_id 1 for calling a global function with example usage: _check_version(version, path) without return types