I would guess it was put there to keep people from going near his dock for fear of being shocked. I doubt it was hooked up to anything.