docs: public static boolean isValidHomeDirectory(final Path path) {
          return path != null
                  && Files.exists(path)
                  && Files.isDirectory(path)
                  && Files.exists(path.resolve("jboss-modules.jar"));
      }