Yea that wire coming from the hex plug area is the low oil sensor. They work well on utility stuff but on a kart sometimes hard turns and bouncing makes the motor shut off. The guys that race the clone motors cut the wires off so that can't happen.
Its a trade off... either check the oil frequently and cut the wires or leave them and have a possible stalling issue.