<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_msgpack(blob, **kwargs):
 """ Load a dict packed with msgpack into kwargs for a Trimesh constructor Parameters blob : bytes msgpack packed dict containing keys 'vertices' and 'faces' Returns loaded : dict Keyword args for Trimesh constructor, aka mesh=trimesh.Trimesh(**loaded) """


    import msgpack
    if hasattr(blob, 'read'):
        data = msgpack.load(blob)
    else:
        data = msgpack.loads(blob)
    loaded = load_dict(data)
    return loaded