is Ancestor Of
Returns true if this node is a (strict) ancestor of node: self is never its own ancestor. Port JS SDK index_tree.ts ancestorOf (yorkie-js-sdk 4d714068, #1478) — used to guard a merge destination that would otherwise land inside a child the same merge is moving, closing a parent cycle in the index tree.