code: def strategy_scope_context(strategy):
      if strategy:
          strategy_scope = strategy.scope()
      else:
          strategy_scope = DummyContextManager()
  
      return strategy_scope
  
file_path: agents/tf_agents/benchmark/distribution_strategy_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from six.moves import range
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: strategy_scope_context(strategy) and returns: strategy_scope