boolean (@NotNull PsiElement element) { if (element instanceof final GrBinaryExpression expression) { final IElementType tokenType = expression.getOperationTokenType(); return (tokenType.equals(GroovyTokenTypes.mLAND) || tokenType.equals(GroovyTokenTypes.mLOR)) && !ErrorUtil.containsError(element); } return false; }