jinja2.environment.TokenStream.skip_if

TokenStream.skip_if(expr)[source]

Like next_if() but only returns True or False.