public KeyPath parent() {
		return parent(1);
	}
Create a new path by removing the final key

@return the resulting path, or null if this path is empty
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/KeyPath.java