### Question:
ReflectionUtils { public static boolean isBooleanField(Field field) { Class<?> type = field.getType(); return boolean.class.isAssignableFrom(type) || Boolean.class.isAssignableFrom(type); }  static MakeAccessible<A> accessible(A accessibleObject); @SuppressWarnings("unchecked") static Optional<T> get(Field field, Object obj); static Optional<T> getAnnotationIfPresent(
		AnnotatedElement annotatedElement, Class<T> annotationClass); static Optional<T> getDefaultValue(Class<? extends Annotation> annotation,
		String property); static boolean isBooleanField(Field field);  }### Answer:
@Test public void testIsBooleanField() throws NoSuchFieldException { assertThat( ReflectionUtils.isBooleanField(HelperClass.class.getDeclaredField(PRIMITIVE_BOOLEAN))) .isTrue(); assertThat( ReflectionUtils.isBooleanField(HelperClass.class.getDeclaredField(OBJECT_BOOLEAN))) .isTrue(); assertThat(ReflectionUtils.isBooleanField(HelperClass.class.getDeclaredField(NOT_BOOLEAN))) .isFalse(); }