You get to a state where there’s one mug in the dishwasher. Can you tell if that’s clear or dirty without closet inspecting the mug (and even then depends on your definition of clean. Imagine you filled the mug with pee, then emptied it, then put it in the dishwasher. Could you be certain of knowing the state of that mug alone?
The heat of the items gives a clue, as does the number of clean looking items, but there are ways to break that system.
So many people in an office open the clean machine, remove one mug, and then close it again.
Should the machine now show dirty or clean?