isBefore

fun Node.isBefore(other: Node): Boolean