For example, in the USA you could check if an AT&T iPhone is unlocked simply by borrowing a T-Mobile SIM card, placing it in the iPhone, and seeing if the device gets service. ...
osxdaily.com