def METHOD_NAME(self, leaf_index, tree_size):
    """Returns an inclusion proof for leaf at |leaf_index|."""
    if tree_size > self.tree_size():
        raise ValueError("Specified tree size is beyond known tree: %d" %
                tree_size)
    if leaf_index >= self.tree_size():
        raise ValueError("Requested proof for leaf beyond tree size: %d" %
                leaf_index)
    return self._calculate_inclusion_proof(
            self.__leaves[:tree_size], leaf_index)