Should I check if ProgressBar isShowing before dismissing it?
<p>Im dismissing progress dialog when AsyncTask is finished. Should i check isShowing before dismissing it?</p>

<p>I've tried remove this check and it works normally, but may be there are hidden traps?</p>

<pre><code>if (progressDialog.isShowing()) {
  progressDialog.dismiss();
}
</code></pre>
