Whether other is entirely contained in this box.
other
bool contains(PdfBox other) => other.left >= left && other.bottom >= bottom && other.right <= right && other.top <= top;