'Check the consistency of this pack.'

def check(self):

    actual = self.calculate_checksum()
    stored = self.get_stored_checksum()
    if (actual != stored):
        raise ChecksumMismatch(stored, actual)
