Apparently, you have some doubts or you would not be asking the question here.
If you don't trust the reseller, return it. Apple does not permit demo units to be sold. They do not have standard software on them. Return it and go buy a phone from a legitimate, trustworthy reseller. No authorized Apple reseller would willingly sell a not-for-resale demo unit.