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