code: def check_tf_version() -> None:
      if parse(tf.__version__) < parse("2.7.0"):
          warnings.warn(
              "The Tensorflow package version needs to be at least 2.7.0 \n"
              "for AutoKeras to run. Currently, your TensorFlow version is \n"
              f"{tf.__version__}. Please upgrade with \n"
              "`$ pip install --upgrade tensorflow`. \n"
              "You can use `pip freeze` to check afterwards "
              "that everything is ok.",
              ImportWarning,
          )
  
file_path: autokeras/autokeras/utils/utils.py
imports: import re
  import warnings
  import keras_tuner
  import tensorflow
  from packaging.version import parse
  from tensorflow import nest
label_desc: Use image node_id 3 for calling a global function with example usage: check_tf_version() without return types