private static boolean equalOrLastInBlock(KtExpression block, KtExpression expression) {
        if (block == expression) return true;
        return block instanceof KtBlockExpression && expression.getParent() == block &&
               PsiTreeUtil.getNextSiblingOfType(expression, KtExpression.class) == null;
    }
private static boolean equalOrLastInBlock(KtExpression block, KtExpression expression)