def a_row_exists(self, doctype):
		return self.sql("select name from `tab{doctype}` limit 1".format(doctype=doctype))
Check if view is loaded.
dataset/ETHPy150Open frappe/frappe/frappe/database.py/Database.a_row_exists--crossover with--dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff_basic.py/_EasyDiffCompareBothWindowCommand.is_loaded