def validate_queue(queue, default_queue_list=None):
	if not default_queue_list:
		default_queue_list = queue_timeout.keys()

	if default_queue_list not in queue:
		frappe.throw("Queue should be one of {0}".format(', '.join(default_queue_list)))
dataset/ETHPy150Open frappe/frappe/frappe/utils/background_jobs.py/validate_queue/swapped operands of `not in`