python-boolean-tree Evaluate an input against an expression of conditions, e.g. "fruit" OR "vegetable" AND NOT "tomato"