#include "tensorstore/array.h" bool tensorstore::Array<ElementTagType, Rank, OriginKind, LayoutContainerKind>::valid() const; Returns true if data() != nullptr.