private static boolean hasIndexedSubtype(TensorType type) {
        return !type.indexedSubtype().equals(TensorType.empty);
    }
Converts the given tensor type to a type that is compatible for being used in this update (has only mapped dimensions).
document/src/main/java/com/yahoo/document/update/TensorModifyUpdate.java