def _check_for_failure(self):
tuple_ = self.received[-<NUM_LIT:1>]<EOL>if not tuple_ in self.expected:<EOL><INDENT>_logger.error("<STR_LIT>", self.name, len(self.received), tuple_)<EOL>self.fail()<EOL>return True<EOL><DEDENT>if len(self.expected) == len(self.received):<EOL><INDENT>if collections.Counter(self.expected) != collections.Counter(self.received):<EOL><INDENT>self.fail()<EOL>return True<EOL><DEDENT><DEDENT>return False<EOL>
Unordered check for failure.

        Can only fully check when the expected number of tuples have been received.