protected boolean canExtractExpression(@NotNull KtExpression expression, @NotNull KtElement parent) {
        if (expression instanceof KtBlockExpression block) {

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