jinja2.BaseLoader.has_source_access

BaseLoader.has_source_access = True

if set to False it indicates that the loader cannot provide access to the source of templates.

New in version 2.4.