Noob question.

wifey is planning to buy a 2nd hand IP4S.

How to check if factory unlocked or jailbroken yun phone?

Thanks!