public boolean hasAnnotation(String name)
    {
        return annotations.containsKey(name);
    }
Short-hand for {@link #getAnnotationMap()}.
<p>
You then can use:

<pre>
&lt;if(message.a.("SomeAnnotation"))&gt;
</pre>
protostuff-parser/src/main/java/io/protostuff/parser/AnnotationContainer.java