New method to check for subpages