Highly doubtful this is an electrician installation. It has all the earmarks of a homeowner project. Without any proof I would not even venture to guess or assume that it was done by a licensed tradesman.
It was outside under the eave and was only 2 prong and had 2 male ends (ouch) connected for christmas lights. Wonder if they tested the switch by using their tongues on the male ends. lol