def check_assertions(self, checklist, all=False):
assert isinstance(checklist, dict) and '<STR_LIT>' in checklist<EOL>retval = None<EOL>retlist = []<EOL>for assertion in checklist['<STR_LIT>']:<EOL><INDENT>retval = self.check_assertion(**assertion)<EOL>retlist.append(retval)<EOL>if not retval.success and not all:<EOL><INDENT>print("<STR_LIT>", retval[<NUM_LIT:3>])<EOL>return retlist<EOL><DEDENT><DEDENT>return retlist<EOL>
Check a set of assertions
        @param all boolean if False, stop at first failure
        @return: False if any assertion fails.