Theoretically, checking "active_page_name" should be sufficient.