Extract is-parent? and iter functions. Still need process nodes in parent