public boolean checkExecutableAndShowMessageIfNeeded(@Nullable Component parentComponent) {
    if (myProject.isDisposed()) {
      return false;
    }
    if (!myProject.isDefault() && !TrustedProjects.isTrusted(myProject)) {
      Messages.showErrorDialog(parentComponent, myNotificationSafeModeDescription, myNotificationErrorTitle);
      return false;
    }

    if (!isExecutableValid(getCurrentExecutable())) {
      if (Messages.OK == showMessage(parentComponent)) {
        ApplicationManager.getApplication().invokeLater(() -> showSettings());
      }
      return false;
    }
    return true;
  }
public boolean checkExecutableAndShowMessageIfNeeded(@Nullable Component parentComponent)