ketosis is when your body burns fat instead of carbohydrates as energy. The by product of burning fat is ketones and these can be measured. When you are in a stae of ketosis, you no longer are burning glycogen for energy
Masturbation definately knocks you out of ketosis. So now all of those posts claiming that the citric acid in diet soda or splenda sweetener knocking them out of ketosis are obviously an obvious cover up.