public static boolean isModuleDirectory(ResourceFile dir) {
		return new ResourceFile(dir, MANIFEST_FILE_NAME).exists();
	}
Checks if the given directory is a module.

@param dir the directory to check.
@return true if the given directory is a module
Ghidra/Framework/Utility/src/main/java/utility/module/ModuleUtilities.java