boolean (PsiBinaryExpression expression, Filter filter) { final PsiBinaryExpression binOp = tryCast(skipParenthesizedExprUp(expression.getParent()), PsiBinaryExpression.class); if (binOp == null) return false; return filter.isOneOfVariablesDefinitelyNull(binOp, binOp.getLOperand()) || filter.isOneOfVariablesDefinitelyNull(binOp, binOp.getROperand()); }