Yes. The ball rolls down the plastic ramps and stops just in front of the kicker, resting on the metal wire connected to the black microswitch. When the game computer sees the microswitch is closed (on), it will play a sound effect and energize the coil to kick the ball out.
The plunger is stuck in the out position as shown in your pic. It should normally be pulled back. The spring should push the plunger back out of the coil, and the coil energizing will yank the plunger back in quickly to strike the ball.
What is that white stuff in the cutout for the switch wireform? Looks like a blob of hot glue? Something may be jammed against the plunger and keeping it from retracting into the coil.