public boolean startsWith(GraphPath<V> otherPath) {
		if (size() < otherPath.size()) {
			return false;
		}

		for (int i = 0; i < otherPath.size(); i++) {
			if (!pathList.get(i).equals(otherPath.pathList.get(i))) {
				return false;
			}
		}
		return true;
	}
Check if a GraphPath starts with another GraphPath.

@param otherPath the other GraphPath we are checking
@return true if the current GraphPath starts with otherPath, false otherwise
Ghidra/Framework/Graph/src/main/java/ghidra/graph/GraphPath.java