This is a great little wordpress snippet that will let you return the ID of the parent page if the page has a parent in wordpress
<?php function is_subpage() { global $post; if ( is_page() && $post->post_parent ) { return $post->post_parent; } else { return false; } } ?>
0 Comments.