pub fn is_filter(state: &State<'_, '_>, name: &str) -> bool
Checks if a filter with a given name is available.
{% if 'tojson' is filter %}...{% endif %}