Testing the jail and transformations interactively: https://astexplorer.net/#/gist/7283141e13dab314521744603a95e9b7/6da31845d98f2cad406e9db41ed63e0635ac5ef1
Only the root nodes are checked for being an expression wrapper:
if (!node.isExpressionWrapper()) {
isConfident = false;
break;