isMessageRef function
Returns true if object
is MessageRef, otherwise false.
Implementation
bool isMessageRef(final Map<String, dynamic>? object) {
if (object == null) return false;
if (object[r'$type'] == null) return false;
return object[r'$type'] == 'chat.bsky.convo.defs#messageRef';
}