Test whether a result value is held.
Declared in <util/expected.h>
<util/expected.h>
constexpr bool has_value() const noexcept;
true if a result value is stored, false if an error is stored.