add function: isPageContain in Helper.java