def METHOD_NAME(expr):
	expr = expr.replace("||", " or ")   \
	           .replace("&&", " and ")  \
	           .replace("!", "not ")
	code = compile(expr, "", "eval")
	result = eval(code, {}, defines)
	return result