isCreate function
Returns true if object
is Create, otherwise false.
Implementation
bool isCreate(final Map<String, dynamic>? object) {
if (object == null) return false;
if (object[r'$type'] == null) return false;
return object[r'$type'] == 'com.atproto.repo.applyWrites#create';
}