@RequiresReadLock
  public static boolean hasLibraryJar(@Nullable Module module, @NotNull String mavenCoords) {
    if (module == null || module.isDisposed()) return false;
    if (module.getProject().isDefault()) return false; // EA-396106

    return getModuleLibraries(module).contains(mavenCoords);
  }
@RequiresReadLock
  public static boolean hasLibraryJar(@Nullable Module module, @NotNull String mavenCoords)