code: def is_tf_keras():
      if keras.__name__ == "keras":
          is_tf_keras = False
      elif (
          keras.__name__
          in [
              "tensorflow.keras",
              "tensorflow.python.keras",
              "tensorflow_core.keras",
          ]
          or keras.__version__[-3:] == "-tf"
      ):
          is_tf_keras = True
      else:
          raise KeyError("Cannot detect if using keras or tf.keras.")
      return is_tf_keras
  
imports: from .imports import *
  from subprocess import Popen
label_desc: Use image node_id 35 for calling a global function with example usage: is_tf_keras() and returns: is_tf_keras