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