public boolean isParentOf(FcgLevel other) {
		if (isSource()) {
			return other.getDistance() == 1;
		}

		if (direction != other.direction) {
			return false;
		}

		// e.g., row 2 - row 1 = 1
		return other.getDistance() - getDistance() == 1;
	}
Returns true if this level is the immediate predecessor of the given other level.

<P>The {@code source} level is the parent of the first level in either direction.

@param other the other level that is a potential child level
@return true if this level is the immediate predecessor of the given other level
Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/FcgLevel.java