<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_isolated_nodes(graph):
 """Remove isolated nodes from the network, in place. :param pybel.BELGraph graph: A BEL graph """

    nodes = list(nx.isolates(graph))
    graph.remove_nodes_from(nodes)