def has_tag?(name)
      tags.any? {|tag| tag.tag_name.to_s == name.to_s }
    end
def has_tag?(name)
      tags.any? {|tag| tag.tag_name.to_s == name.to_s }
    end
Returns true if at least one tag by the name +name+ was declared

 @param [String] name the tag name to search for
 @return [Boolean] whether or not the tag +name+ was declared