Certified is the key here. I’ve bought too many shitty used Apple products from my local classified ads and been screwed over by stuff with bad non-warranty repairs, cell carrier locks, etc. Buying older models (new or refurbs) directly from Apple is the way to go.