public static boolean isLocked(File dir, String name) {
		return hasAnyLock(dir, NamingUtilities.mangle(name));
	}
@param dir directory containing lock file
@param name of entity which this lock is associated with.
@return true if any lock exists within dir for the given entity name.
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LockFile.java