(self, sequence_number, sub_sequence_number)
return self._largest_seq == (None, None) or sequence_number > self._largest_seq[0] or \
            (sequence_number == self._largest_seq[0] and sub_sequence_number > self._largest_seq[1])
Determines whether a new larger sequence number is available

        :param int sequence_number: the sequence number from the current record
        :param int sub_sequence_number: the sub sequence number from the current record
        :return boolean: true if the largest sequence should be updated, false otherwise
Determines whether a new larger sequence number is available
Determines whether a new larger sequence number is available
def should_update_sequence(self, sequence_number, sub_sequence_number):
        """
        Determines whether a new larger sequence number is available

        :param int sequence_number: the sequence number from the current record
        :param int sub_sequence_number: the sub sequence number from the current record
        :return boolean: true if the largest sequence should be updated, false otherwise
        """
        return self._largest_seq == (None, None) or sequence_number > self._largest_seq[0] or \
            (sequence_number == self._largest_seq[0] and sub_sequence_number > self._largest_seq[1])
def should_update_sequence ( self , sequence_number , sub_sequence_number ) : return self . _largest_seq == ( None , None ) or sequence_number > self . _largest_seq [ 0 ] or ( sequence_number == self . _largest_seq [ 0 ] and sub_sequence_number > self . _largest_seq [ 1 ] )