@staticmethod
def _present(key, ancestors) ->bool:
    """
        judge is _key exist in this tree.
        """
    last, index = ancestors[-1]
    return index < len(last.contents) and last.contents[index].key == key
