@Override
  public boolean isShown() {
    if (!ApplicationManager.getApplication().isUnitTestMode()) {
      ThreadingAssertions.assertEventDispatchThread();
    }
    return myShown;
  }
@Override
  public boolean isShown()