Supposing I have a Twig template like this:
{{ craft.myPlugin.bar(entry.specialTags) }}
How can I efficiently do the following within my custom template tag?
public function bar($tags)
{
if ($tags->contains('blah')) { // pseudo-code!
// return something...
}
}