private boolean hasLinkedExternalProjects() {
    for (ExternalSystemManager<?, ?, ?, ?, ?> manager : ExternalSystemManager.EP_NAME.getIterable()) {
      if (!manager.getSettingsProvider().fun(myProject).getLinkedProjectsSettings().isEmpty()) {
        return true;
      }
    }
    return false;
  }
private boolean hasLinkedExternalProjects()