dvStudioDocumentIsEmpty function
Whether a document object holds no snippet at all.
Implementation
bool dvStudioDocumentIsEmpty(Map<Object?, Object?> document) => document.values.every(
(Object? slot) => slot == null || (slot is List && slot.isEmpty),
);