code: def check_tf_version():
      tf_version = tf.__version__
      if tf_version >= "2.0":
          invalidInputError(
              False,
              f"Currently running TensorFlow version {tf_version}. We only support"
              f"TensorFlow 1.x for now and has been tested on 1.15",
          )
  
imports: from bigdl.orca.automl.model.abstract import BaseModel, ModelBuilder
  import numpy
  from bigdl.orca.automl.metrics import Evaluator
  from bigdl.orca.common import SafePickle
  import copy
  import tensorflow
  from tensorflow.keras import backend
  import types
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 1 for calling a global function with example usage: check_tf_version() without return types