Better checking for whether a page is live or not