What is the history on the bike? How was it ridden before you got it? How many times has the chain been replaced with that cassette? How many miles on the chain the OP replaced (or how much wear) might be irrelevant to whether the cassette is written out, if it was accused previously.