code: def _invalidate_edge(graph, n1, n2):
      """Invalidates the edge (n1, n2) in the heap."""
      graph[n1][n2]["heap item"][3] = False
  
imports: import numpy
  import heapq
label_desc: Use image node_id 3 for calling a global function with example usage: _invalidate_edge(graph, n1, n2) without return types