Check if the user can delete a doctype.
Future<bool> canDelete(String doctype) async => await _canInUserPermissions('can_delete', doctype);