isFinal method

bool isFinal()

Returns true if the sequence number has reached it's maximum limit and can no longer be updated.

Implementation

bool isFinal() {
    return sequenceNumber != MAX_SEQ_NUMBER;
}