#include "tensorstore/open_mode.h" constexpr booltensorstore::IsModeExplicitlyConvertible(ReadWriteMode source, ReadWriteMode target); Checks if source is potentially compatible with target.