private boolean shouldShowLookup() {
    if (myLookupAppearancePolicy == LookupAppearancePolicy.POSTPONED) {
      return false;
    }
    if (isAutopopupCompletion()) {
      if (count == 0) {
        return false;
      }
      if (lookup.isCalculating() && Registry.is("ide.completion.delay.autopopup.until.completed")) {
        return false;
      }
    }
    return true;
  }
private boolean shouldShowLookup()