elf</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
<span class="w">        </span><span class="sd">"""Return if the device is connected"""</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_is_connected</span><span class="o">.</span><span class="n">is_set</span><span class="p">()</span>


<div class="viewcode-block" id="JlinkStream.connect"><a class="viewcode-back" href="../../../