code: def global_mode_eval():
      """Returns a bool Tensor indicating whether the global mode is EVAL."""
      mode = global_mode()
      return tf.equal(mode, tf.estimator.ModeKeys.EVAL)
  
imports: import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: global_mode_eval() and returns: tf