Before purchasing, check the IMEI number by dialing *#06#. Cross-reference this with the number on the device's settings and original packaging. Additionally, use IMEI checking services online to ensure the device isn't blacklisted.