code: def _validate_jpx_box_sequence(self, boxes):
          
          self._validate_label(boxes)
          self._validate_jpx_compatibility(boxes, boxes[1].compatibility_list)
          self._validate_singletons(boxes)
          self._validate_top_level(boxes)
docs: Run through series of tests for JPX box legality.