You're right.  I didn't read wasGenerated() when looking at this client code, and forgot it checked bytes.  Thanks.  Name indicated existence, not equivalence, but it's not a bad name even so.