def _validate(self, writing=True):
if any([box.box_id != '<STR_LIT>' for box in self.box]):<EOL><INDENT>msg = ("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>self._dispatch_validation_error(msg, writing=writing)<EOL><DEDENT>
Verify that the box obeys the specifications.