Maybe not quite what your after but it gives the right result
The “this caller” block can be “this script” as well. Either can’t see the blocks inside the ringed script. There might also be a way to shorten this
Much nicer
I knew someone would improve it 
Thanks but I need it to detect inheritance. That’s why I asked the question :)
You may strip the parent context with split=>join
But your script may not execute correctly…
Or parse the expression for exact results