public static boolean libraryHasSources(@Nullable LibraryEditor libraryEditor) {
    return libraryEditor != null && libraryEditor.getUrls(OrderRootType.SOURCES).length > 0;
  }
public static boolean libraryHasSources(@Nullable LibraryEditor libraryEditor)