def get_edges_intersection_of_two_networks(network1, network2):
    """Gets the intersecting edges of two networks"""
    network1_edges = network1.get_edges()
    network2_edges = network2.get_edges()

    network1_set = set(frozenset(i) for i in network1_edges)
    network2_set = set(frozenset(i) for i in network2_edges)

    return network1_set & network2_set