All posts in Habari are Post object instances. The tags property of the
Post object is an array of tags that are associated to the post.
The key of the array is the tag slug, the value of the array is the tag
text.
So, to skip to the end:
if(isset($post->tags['my-tag'])) : // if the post has the tag "my-tag"
Owen