Not in normal use.
Personally I don't think it's necessary to install it. It's just a gimmick. It is better for the anti-theft device to be more stable and practical with a traditional alarm, mechanical anti-theft devices and generators. A poor connection may also cause a short circuit, leading to certain safety risks.
Anti-theft lights are used in alleys and sidewalks to reduce the likelihood of crimes committed by gangsters and thieves. At the same time, psychological reports confirmed that such lamps would reduce people's motivation to commit crimes.