_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>
                <span class="p">):</span>  <span class="c1"># if done, save the original obs, state, and available actions in info, and then reset</span>
                    <span class="n">infos</span><span class="p">[</span><span class="n">i</span><span cla