def workflow_exists(data_base, workflow_name):
	"""Check if a certain workflow exists in the DB"""
	result = False
	
	# Need at least one iteration
	for path in data_base.execute("SELECT path FROM workflows WHERE workflow_name = ?;", (workflow_name,)):
		result = True
	
	return result