#include "tensorstore/util/future.h"
bool tensorstore::HaveSameSharedState(const AnyFuture& a,
                                      
const AnyFuture& b);

Returns true if both futures refer to the same shared state, or are both null.