public boolean isLastInParent() { if (parentTN == null) return true; return parentTN.getLastChild() == this; }