How can I check, if node has a new (unpublished) revision in node-template?
Maybe this could help you

{% set isNew = node.isNewRevision %}


Otherwise use template_preprocess_node() in your theme to generate needed variable.