boolean (@Nullable PsiExpression expression) { if (!(expression instanceof PsiPolyadicExpression polyadicExpression)) { return false; } final IElementType tokenType = polyadicExpression.getOperationTokenType(); return isComparisonOperation(tokenType); }