def METHOD_NAME(self, node, sector = 0):
    if node == None:
        self.assertEqual(self.vm.get_qmp_event(), None)
        return
    for event in self.vm.get_qmp_events(wait=True):
        if event['event'] == 'QUORUM_REPORT_BAD':
            self.assert_qmp(event, 'data/node-name', node)
            self.assert_qmp(event, 'data/sector-num', sector)