I have taken this iPhone from a friend of mine. Hes was using the same network which i was using that is AT&T and so i didn't get any problem till now. Now i want to know if my phone is factory unlocked or not. My friend hasn't unlocked it so i know either it is locked or if not then it should be factory settings. How can i check this? Is there a way to check it?