This is a problem that occured to me while working on a Django project. It\'s about form validation.
In Django, when you have a submitted form, you can call is
is
You can use Clever infix hack for defining your own Boolean operators aand=Infix(lambda x,y: bool(x) and bool(y)) 1 |aand| 2 will return True instead of 1