They could do this by checking for a buildup of lactic acid.
Explanation:
Without oxygen glucose disintegrates in anaerobic respiration. The chemical process transmits energy to the cell from glucose. Anaerobic respiration does not contain carbon dioxide and water, but generates lactic acid. That can unintentionally lead to intense muscle cramps. Lactic acid has also been utilized as a by-product of energy metabolizing glucose and a waste product that has triggered burning muscle feeling. Research indicates, though that concentration of lactate can help alleviate the burn or muscle cramp produced throughout physical activity with higher intensity.