If the motorcycle idles at a normal rpm, but sometimes doesn't slow down (at, say, a traffic light) all the way, even though the throttle is closed, there can be a few different explanations.
The advance doesn't normally operate at idle and for a little ways above idle, so if you see the timing advanced a little above idle, the conclusion is that it didn't return to base after being run up.
But if the S mark shows in the window when the engine is idling normally, but is out of the window when the bike is idling high, probably you have a sticky advance or weak return springs (or both).
This is different than the typical air leak, because the symptom is that the bike idles ok when started and warmed but sometimes doesn't return to the low idle, or takes a while to return to the low idle, after being run up. With an air leak, you usually get a high idle all the time or it is ragged, moving up and down frequently and irregularly.