Checks if two different page boxes (if defined) have the same size and position.
You can either compare the trim and art box, or the trim and crop box.