code: def convert_to_strmap(value):
      """Convert a python dictionary to a dgl.contrainer.StrMap"""
      assert isinstance(value, dict), "Only support dict"
      if len(value) == 0:
          return _api_internal._EmptyStrMap()
      else:
          return convert_to_object(value)
  
imports: from __future__ import absolute_import
  from .None import _api_internal
  from ._ffi.object import ObjectBase, register_object
  from ._ffi.object_generic import convert_to_object
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_strmap(value) and returns: _api_internal, convert_to_object