https://capressocoffemakerthecheapest.blogspot.com/2024/02/use-string-representing-logical.html
Use A String (representing A Logical Operator) In A Python Expression