check if the annotation is a CXF endpoint (do not throw any exception
with other annotations)