Determine if a node is a descendant of another node