code: def is_ancestor(self, node):
          
          if self.level <= node.level or self.key[:len(node.key)] != node.key:
              return None
          return self.level - node.level
docs: If node is ancestor of self
                  Get the difference in level
                  If not, None