title: Can't check if dialog is showing
body: <p>So a dialog is opened every time a text is received. I want it to not open one if there is one already open. I was trying to check if one was open by using isShowing() but I keep getting the method isShowing() is undefinded for the type AlertDialog.Builder. Here is the section of bad code. Any help would be so sweet right about now.</p>
  
  <pre><code>public class PopUpReply extends Activity{
  AlertDialog.Builder alertbox;
  AlertDialog.Builder alert;
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      // prepare the alert box
      alertbox.isShowing();
      alertbox = new AlertDialog.Builder(this);
  </code></pre>