="p">(</span><span class="n">data</span><span class="p">)</span>
            <span class="k">if</span> <span class="s2">&quot;bool&quot;</span> <span class="ow">in</span> <span class="n">done</span><span class="o">.</span><span class="vm">__class__</span><span class="o">.</span><span class="vm">__name__</span><span class="p">:</span>  <span class="c1"># done is a bool</span>
                <span class="k">if</span> <span class="p">(</span>
                    <span class="n">done</span>
                <sp