Check if the user can search a doctype.
Future<bool> canSearch(String doctype) async => await _canInUserPermissions('can_search', doctype);