Check if an entry is a compact boundary message.
bool isCompactBoundaryMessage(Map<String, dynamic> entry) { return entry['type'] == 'system' && entry['subtype'] == 'compact_boundary'; }