public static boolean hasAnnotation(final Prop prop,
                                            final Class<? extends Annotation> clazz) {
            return prop != null
                   && prop.hasAnnotation(clazz);
        }
@return True if prop is non-null and either the field or getter have
the passed {@link Annotation} class.
stroom-util/src/main/java/stroom/util/config/PropertyUtil.java