code: def hide_multiedges(edges):
      """Returns a filter function that hides specific multi-undirected edges."""
      alledges = set(edges) | {(v, u, k) for (u, v, k) in edges}
      return lambda u, v, k: (u, v, k) not in alledges
  
file_path: networkx/networkx/classes/filters.py
label_desc: Use image node_id 6 for calling a global function with example usage: hide_multiedges(edges) and returns: function