def convert_to_node(instance, xml_node: XmlNode, node_globals: InheritedDict = None)\
    -> InstanceNode:
    '''Wraps passed instance with InstanceNode'''
    return InstanceNode(instance, xml_node, node_globals)
Wraps passed instance with InstanceNode