ectattr("is_active") }}
    {{ users|selectattr("email", "none") }}

Similar to a generator comprehension such as:

.. code-block:: python

    (u for user in users if user.is_active)
    (u for user in users if test_none(user.email))

.. versionadded:: 2.7
c