def InsertNodesBefore(new_nodes, target):
 for node in new_nodes:
  _InsertNodeAt(node, target, after=False)

def InsertNodesBefore ( new_nodes , target ) : for node in new_nodes : _InsertNodeAt ( node , target , after = False )
insert new_nodes before the given target location in the tree .