jinja2.environment.Template.is_up_to_date

Template.is_up_to_date

If this variable is False there is a newer version available.