public static boolean libraryHasExternalAnnotations(@Nullable LibraryEditor libraryEditor) {
    return libraryEditor != null && libraryEditor.getUrls(AnnotationOrderRootType.getInstance()).length > 0;
  }
public static boolean libraryHasExternalAnnotations(@Nullable LibraryEditor libraryEditor)