def METHOD_NAME(self, leaf_hash):
    """Returns the index of the leaf hash, or -1 if not present."""
    try:
        return self._hashed_leaves().index(leaf_hash)
    except ValueError:
        return -1