boolean (@NotNull KtExpression expression, @NotNull KtElement parent) { if (expression instanceof KtBlockExpression block) { return block.getStatements().size() <= 1 || parent instanceof KtBlockExpression; } return true; }