Check the DEVICE_ID

I’d like to filter an application to make sure that a DEVICE_ID is a valid ID. This could be entered in an application not ‘tethered’ to the device.

Is there a method to check to see if it is a valid DEVICE_ID? Some checksum?

The DEVICE_ID is factory-programmed unique to each device so i wonder if the checksum is possible.

This is a good read: