Avoid using "is <integer_constant>" (#574)
Avoid using "is <integer_constant>" (#574)

* Avoid using "is <integer_constant>"

* Fix validations if "False" value is used

As False value is actually always just integer 0 Py3+, check for that.

web2py/pydal,willimoa/pydal