code: def props_to_dictionary(env):
      result = {}
      props_to_dictionary_recurse(env, "", result)
      return result
  
file_path: lab/python/tests/properties_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl.testing import absltest
  import six
  import deepmind_lab
label_desc: Use image node_id 2 for calling a global function with example usage: props_to_dictionary(env) and returns: result