public static String suggestNewLibraryName(LibraryTable.ModifiableModel table,
                                             final String baseName) {
    return UniqueNameGenerator.generateUniqueNameOneBased(baseName, n -> !libraryAlreadyExists(table, n));
  }
public static String suggestNewLibraryName(LibraryTable.ModifiableModel table,
                                             final String baseName)