code: def is_v2_0():
      """Returns true if using tf 2.0."""
      return tf2.enabled()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import time
  import tensorflow
  from tensorflow.core.protobuf import rewriter_config_pb2
  from tensorflow.python import tf2
  from tensorflow.python.eager import profiler
label_desc: Use image node_id 5 for calling a global function with example usage: is_v2_0() and returns: tf2