Check if the user can cancel a doctype.
Future<bool> canCancel(String doctype) async => await _canInUserPermissions('can_cancel', doctype);