public static boolean isMavenLibrary(@Nullable Library library) {
    return library != null && MavenArtifact.isMavenLibrary(library.getName());
  }
public static boolean isMavenLibrary(@Nullable Library library)