isCommit function
Returns true if object
is Commit, otherwise false.
Implementation
bool isCommit(final Map<String, dynamic>? object) {
if (object == null) return false;
if (object['t'] == null) return false;
return object['t'] == '#commit';
}