jinja2.sandbox.Environment.overlayed

Environment.overlayed = False

True if the environment is just an overlay