#include "tensorstore/context.h"
bool tensorstore::Context::Resource<Provider>::has_resource() const;

Returns true if this is not null and corresponds to a bound resource (rather than a resource spec).