boolean (PsiElement context) { if (newDateTimeApiPresent == null) { newDateTimeApiPresent = ClassUtils.findClass("java.time.Instant", context) != null; } return newDateTimeApiPresent != Boolean.FALSE; }