My code includes sub template according to product SKU:
{% if ["GB01","GB02","GB03","GB04","GB05"] contains product.attributes.sku %}
{% include 'products/_custom_jumbtron_' + product.attributes.sku + '.peb' %}
{% else %}
{% include 'products/_custom_jumbtron.peb' %}
{% endif %}
Right now, this solution has problems: If SKU is in array but the sub template file doesn’t exist, I get an error or includable file exist, but the product SKU is not in array, then it falls to default one.
Is it possible in Pebble template file to control if the includable file exists and if not then fall back to default one?