public boolean canSave() throws IOException {
		if (corruptedState) {
			return false;
		}
		if (sourceFile instanceof ManagedBufferFile) {
			return ((ManagedBufferFile) sourceFile).canSave();
		}
		return false;
	}
@return true if save operation can be performed.
@throws IOException if IO error occurs
Ghidra/Framework/DB/src/main/java/db/buffers/BufferMgr.java