I found how to do this if the node is tagged with certain terms here.
But what I would like to do is to do something conditionally in node.tpl.php
only if the node is tagged with a certain vocabulary.
For example, I have a vocabulary called "Color" with terms "Red" "Blue" "Yellow". I would like to display the text "It has color" only if the node is tagged with at least one of those terms. Otherwise print nothing.
How can I do this in node.tpl.php
?