A real double-click and a chatter event are distinguishable, because they are made of different things. A real double-click is two complete press-and-release cycles: down, up, down, up. Chatter is one press-and-release cycle with an extra contact inside it: down, up, down, up, where the second down arrives microseconds after the first up and no human finger moved in between.
The gap is the giveaway. In a real double-click the gap between the first release and the second press is the time it takes a human to move a finger and press again, normally somewhere between 80 and 300 milliseconds. In chatter the gap is the bounce time of a metal contact, somewhere between 1 and 30 milliseconds. The two populations do not overlap: one is a person, the other is a spring.
The same signature shows up in click rate. A person clicking as fast as they can manages somewhere around 10 to 12 clicks per second. A chattering switch can produce far more than that, because the hardware is generating events faster than any finger could.