Find out if any other activities in my activity stack?
<p>Is it possible to check if there are any activities below the current activity from my own application? Example:</p>

<pre><code>ActivityMain  // no more activities from our app in the stack
ActivityNext  // one other activity from our app in the stack
</code></pre>

<p>I'm using the ActionBar, and let's say I'm at ActivityNext - I want to know if I should call setDisplayHomeAsUpEnabled() with a true or false value. If I'm the only activity in the stack, I want to pass in "false", otherwise "true".</p>

<p>I can try to book-keep this manually, but it wondering if there's a way to query the activity stack instead,</p>

<p>Thanks</p>
