If "tag" is "event" - how to do condition with php I need to do a condition on a tpl.php

Basically I have a content type with taxonomy "tags" - some are News, some are Events.

On the page.tlp I want to do the following condition: 

if ($content['field_tags']=='Events'):

    &lt;p&gt;test&lt;/p&gt;

endif;


But this doesn't work.

Can you help me? Thanks.
This is where you will find it in node.tpl.php

$content['field_tags']['#items'][0]['taxonomy_term']-&gt;name


Be sure to test it for empty() or run it through isset() before you use it.