private static boolean hasAnyHiddenFiles(File dir) {
		for (File f : dir.listFiles()) {
			if (f.getName().startsWith("~") && f.isFile()) {
				return true;
			}
		}
		return false;
	}
Returns true if any file found within dir whose name starts
with '~' character (e.g., ~index.dat, etc)
@param dir
@return true if any hidden file found with '~' prefix
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LocalFileSystem.java