#include "tensorstore/index_interval.h"
constexpr bool tensorstore::IsValidIndex(Index index);

Return true if index is within the valid range: [-kInfIndex, +kInfIndex].