def expect_page_links(response, expectations = {})
            include RSpecApi::Matchers

            if should_check_page_links(response, expectations)
              if expectations[:page_links]