class="n">node</span><span
            class="o">.</span><span class="n">right</span><span class="o">.</span><span class="n">priority</span>
            <span class="k">assert</span> <span class="bp">self</span><span class="o">.</span><span class="n">_check_heap_invariant</span><span
            class="p">(</span><span class="n">node</span><span class="o">.</span><span class="n">right</span><span
            class="p">)</span>
        <span class="k">return</span> <span class="kc">True</span>

<div class="v