A glass cover in a solar cooker allows sunlight to enter while trapping heat inside, and it also enables users to check the cooking process without opening the lid. Thus, the correct answer is \( \mathbf{(A) \text{To see whether the food kept inside is being cooked or not}} \).