I tried using the 2D version of this and it returns the error that it can't access the "Sprite" component on my GO because it doesn't have one.
So, I changed the script to work with "Renderer" instead. It seems to work as intended but perhaps someone else wants to see if anything else in the script needs updating. I literally changed just one line and me no code good can.
By the way, this action uses bounds, so it doesn't actually check whether the GO is inside the collider but whether it is inside the bounds. As I understand it, the bounds are rectangular, so if your collider isn't simply a rectangular shape the action can return an incorrect result.