It has a sensor on the mirror side and a sensor on the back. Cover the sensor on the back, and shine a LED torch at the mirror and see if it works.
It is self contained, so if that doesn't work then it is bust (and an electronics engineer should easily be able to fix it, or eBay for a used one!)
Richard