public boolean showLookup() {
    ThreadingAssertions.assertEventDispatchThread();
    checkValid();
    LOG.assertTrue(!myShown);
    myShown = true;
    myStampShown = System.currentTimeMillis();
    fireLookupShown();

    if (ApplicationManager.getApplication().isHeadlessEnvironment()) return true;

    if (!UIUtil.isShowing(editor.getContentComponent())) {
      hideLookup(false);
      return false;
    }

    LookupUsageTracker.trackLookup(myCreatedTimestamp, this);

    return doShowLookup();
  }
public boolean showLookup()