Advice above is good. My tuppence……
Either buy from a respected dealer, or take the bass on approval and have it checked/valued, or buy from a long standing member here.
Or as I have done, if you really like the bass, buy for it’s value to you as an instrument and hope you never have to recoup your investment 🤔