check page is validate