DNN-5733 - reduced the API to check if a page is an admin or host page.