How to write the below snippet in python? : <pre><code>if(stuckSomewhere()||lost() == true)
{
   stuckSomewhere().stop();
   lost().stop();
   debugAvailableOptions();
}
</code></pre>

<p>I'm pretty much newbie for python. I was exploring python but I'm unable to come to a solution for this snippet. </p>
