How do I know which steamdeck this is?

I went to a pawn shop and found one but I couldn’t find the capacity and I didn’t know what version it was. I’m thinking about going back tomorrow to get it, what should I look for and how should I test it to see if it’s worth the price?