code: def learn():
      """Return tf.contrib.learn module or dummy version."""
      if not is_tf2:
          from tensorflow.contrib import (
              learn as contrib_learn,
          )  # pylint: disable=g-direct-tensorflow-import,g-import-not-at-top
  
          return contrib_learn
      return DummyModule(
          RunConfig=tf_estimator.RunConfig,
          monitors=DummyModule(
              replace_monitors_with_hooks=replace_monitors_with_hooks
          ),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl import logging
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 20 for calling a global function with example usage: learn() and returns: DummyModule, contrib_learn