Checks if the PDF has pages without content.
Additionally, you can specify that elements outside of a specific page box should be ignored.