How to detect when using feature "Quick Start to transfer data to a new iPhone"

I use "Quick Start" feature to transfer data to a new iPhone, DeviceUID is not changed. My application can't distinguish between the new iPhone and the old iPhone. How can i do that? Thanks for helping!

How to detect when using feature "Quick Start to transfer data to a new iPhone"
 
 
Q