To check this you should first open the setting Apps on the iPhone and then choose the subsection "general" and then go to the "about"..There you will see the carrier and you'll understand what network was previously used and usually there is also the information about the network for which the iPhone is locked to. that's all