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

Returns true if this corresponds to a resource spec or bound resource.