code: public static boolean isAnnotationPresent(Field field, Class<? extends Annotation> annotationType) {
          final Optional<Method> readMethod = getReadMethod(field);
          return field.isAnnotationPresent(annotationType) || readMethod.isPresent() && readMethod.get().isAnnotationPresent(annotationType);
      }
docs: Checks if field or corresponding read method is annotated with given annotationType.
  
  @param field Field to check
  @param annotationType Annotation you're looking for.
  @return true if field or read method it annotated with given annotationType or false.