def execute():
	if frappe.db.get_table_columns("Sessions") not in "device":
		frappe.db.sql("alter table tabSessions add column `device` varchar(255) default 'desktop'")
dataset/ETHPy150Open frappe/frappe/frappe/patches/v5_0/modify_session.py/execute/swapped operands of `not in`