Add helper method (is_addedit_page) to check whether current page is add/edit page for specified post_type.