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