pan class="k">def</span> <span class="nf">test</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">time</span><span class="p">,</span> <span class="n">cutoff</span><span class="p">,</span> <span class="n">probability</span><span class="p">,</span> <span class="n">less_than</span><span class="o">=</span><span class="bp">True</span><span class="p">):</span>
        <span class="sd">&quot;&quot;&quot; Test posterior belief that median time-to-event parameter is le