Check if can scroll to end of page

I have several div boxes on a page. I want to check to see if I can scroll to the end of the page. There was a bug yesterday on the website where the user couldn’t scroll to the end of the page. How can I check this using playwright?