I think it probably measures the curvature and if the curvature exceeds the normal parameters of non-lens objects then the device has curvature and can be detected.
> ... it probalby measure the curvature
So how does it measure the curvature?
Edit: I wonder if anyone will get the reference