<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def expand_all_node_neighborhoods(universe, graph, filter_pathologies: bool = False) -> None: """Expand the neighborhoods of all nodes in the given graph. :param pybel.BELGraph universe: The graph containing the stuff to add :param pybel.BELGraph graph: The graph to add stuff to :param filter_pathologies: Should expansion take place around pathologies? """

    for node in list(graph):
        if filter_pathologies and is_pathology(node):
            continue

        expand_node_neighborhood(universe, graph, node)