I'm using the Widget Logic plugin to show widgets on certain pages using Wordpress Conditional Tags (or any general PHP code).
What I would like to do is only show a widget on child pages, not top level pages. I tried both of the following but they both return true on all pages (so the widget shows on all pages):
global $post; return ($post->post_parent != 0);
global $post; return ( is_page() && $post->post_parent );
Note I tried this for testing and the widget displays on page ID 61 and its children, not just on its children as I was expecting:
global $post; return ($post->post_parent=="61");