Check for device id