public static boolean isModularRuntime(@NotNull Path homePath) {
    return Files.isRegularFile(homePath.resolve("lib/jrt-fs.jar")) || isExplodedModularRuntime(homePath);
  }
public static boolean isModularRuntime(@NotNull Path homePath)