public function hasTag($tagName) {
		return $this->tags->search($tagName, function (AbstractTag $tag, $query) {
			return $tag->getTagName() == $query;
		});
	}
public function hasTag($tagName) {
		return $this->tags->search($tagName, function (AbstractTag $tag, $query) {
			return $tag->getTagName() == $query;
		});
	}
public function hasTag ( $ tagName ) { return $ this -> tags -> search ( $ tagName , function ( AbstractTag $ tag , $ query ) { return $ tag -> getTagName ( ) == $ query ; } ) ; }
Checks whether a tag is present

@param string $tagName
@return boolean
Checks whether a tag is present