Unfortunately it doesn't look like that works. From the manual:
True if the object is currently visible. Invert to test if invisible. This only tests the visibility set by the Set visible action; it is not affected by the object being offscreen, having 0 opacity, or being on an invisible layer.
I was trying to make a menu system using a single layout that simply turns layers on or off (rather than constantly going to a new layout for no reason) based on what was clicked. It doesn't look like that's possible, or at least, beyond my current level of knowledge.