"#t31">31</a></span><span class="t"><span class="key">def</span> <span class="nam">is_wall</span><span class="op">(</span><span class="nam">y</span><span class="op">:</span> <span class="nam">int</span><span class="op">,</span> <span class="nam">x</span><span class="op">:</span> <span class="nam">int</span><span class="op">,</span> <span class="nam">grid</span><span class="op">:</span> <span class="nam">np</span><span class="op">.</span><span class="nam">ndarray</span><span class="op">)</span> <span class="