hasValidParents

fun Node.hasValidParents(parent: Node? = this.parent): Boolean