boolean (@NotNull final PsiElement anchor, @NotNull final ThreeState userProvidedValue) { if (userProvidedValue != ThreeState.UNSURE) { return userProvidedValue.toBoolean(); } return isTestCaseClassRequired(anchor); }