以下のソースコードをfunction.phpに追記することで、is_subpage()で判定できるようになります。
WordPressの標準で用意されてないのかな?
function is_subpage() {
global $post;
if (is_page() && $post->post_parent){
$parentID = $post->post_parent;
return $parentID;
} else {
return false;
};
};