指定した名前のページが存在するか調べるには、func.phpのis_page関数を使う。ページが存在すれば、TRUEを返す。
// If the page exists function is_page($page, $clearcache = FALSE)