Next to the where the throttle cable mounts is a 4 pin connector.
Disconnect it, put a multimeter set to resistance on the bottom 2 pins.
With the throttle slightly open it measure not more than 200 ohms.
With the throttle shut it should measure infinity.