Since Jinja 2.11 it's possible to do nice tests against true, false and others, which is important for various type checks.