code: def check_tf_version():
      import logging
  
      try:
          import tensorflow as tf
      except Exception as e:
          return False, RuntimeError(
              "Importing TensorFlow failed, "
              "please install tensorflow 1.15.0.",
              e,
          )
  
      v_str = tf.__version__
      major, minor, patch = v_str.split(".")
      if v_str != "1.15.0":
          if int(major) == 1:
              logging.warning(
                  "\n######################### WARNING ##########################\n"
                  "\nBigDL TFPark has only been tested on TensorFlow 1.15.0,"
                  " but your current TensorFlow installation is {}.".format(
                      v_str
                  )
                  + "\nYou may encounter some version incompatibility issues. "
                  "\n##############################################################"
              )
          else:
              message = (
                  "Currently BigDL TFPark only supports TensorFlow 1.15.0, "
                  + "but your current TensorFlow installation is {}".format(
                      v_str
                  )
              )
              return False, RuntimeError(message)
      return True, None
  
label_desc: Use image node_id 1 for calling a global function with example usage: check_tf_version() and returns: True,  None, False,  RuntimeError, False,  RuntimeError