code: def min_item(self):
          
          if self.is_empty():
              raise ValueError("Tree is empty")
          node = self._root
          while node.left is not None:
              node = node.left
          return node.key, node.value
docs: Get item with min key of tree, raises ValueError if tree is empty.