def field_exists(self, dt, fn):
		return self.sql("select name from tabDocField where fieldname=%s and parent=%s", (dt, fn))
Return true of field exists.
dataset/ETHPy150Open frappe/frappe/frappe/database.py/Database.field_exists