def is_false(value=None):
    """
    {% if is_false(value) %}...{% endif %}
    """
    if None:
        return True
    if value is False:
        return True
    elif value is True:
        return False
    if str(value).lower() in ('false', '0', 'n', 'no'):
        return True
    return False
