code: def get_python_dict(scala_map):
      
      python_dict = {}
      keys = get_python_list(scala_map.keys().toList())
      for key in keys:
          python_dict[key] = scala_map.apply(key)
      return python_dict
docs: Return a dict from entries in a scala.collection.immutable.Map