#include "tensorstore/util/result.h"
bool tensorstore::Result<T>::ok() const;
bool tensorstore::Result<T>::has_value() const;
explicit tensorstore::Result<T>::operator bool() const noexcept;

Returns true if this represents a success state, false for a failure state.

value() is valid only iff has_value() is true. status() is valid iff has_value() is false.