If a Taxonomy Exists

I am trying to write some code to determine if a Taxonomy is set on a particular page, but I must be doing something wrong…

{% if page.taxonomy.type == "general" %}
            Do Something... 
{% endif %}

Page Header

---
title: Page Title
taxonomy:
	category: ['docs']
	role:
	type: ['general']
	execution:
modified_date: 10/12/2017
---

Hi @crusnac, this is untested but perhaps this?

{% if "general" in page.taxonomy['type'] %} 

Let me know if that actually works🙂