Check if the user can create a doctype.
Future<bool> canCreate(String doctype) async => await _canInUserPermissions('can_create', doctype);