public static boolean canRecover(BufferFileManager bfMgr) {
		int ver = bfMgr.getCurrentVersion();
		if (ver < 1) {
			return false;
		}
		LocalBufferFile bf = null;
		try {
			bf = new LocalBufferFile(bfMgr.getBufferFile(ver), true);
			return RecoveryMgr.canRecover(bf);
		}
		catch (IOException e) {
			// handled below
		}
		finally {
			if (bf != null) {
				try {
					bf.close();
				}
				catch (IOException e) {
					// we tried
				}
			}
		}
		return false;
	}
Determine if unsaved changes can be recovered for the current BufferFile
associated with the specified bfMgr.
@param bfMgr buffer file manager
@return true if a recover is possible
Ghidra/Framework/DB/src/main/java/db/buffers/BufferMgr.java