public static boolean isRelated(@NotNull Library library, @NotNull LibraryData libraryData) {
    return getLibraryName(library).equals(libraryData.getInternalName());
  }
public static boolean isRelated(@NotNull Library library, @NotNull LibraryData libraryData)