As I mentioned in another comment, the easy way to test for this is to take a freshly-dishwashed glass and fill it with water. Look for foamy bubbles that don't clear up quickly around the edge. Then rinse it thoroughly and try again.
With most home dishwashers, I have seen evidence of leftovers.
With most home dishwashers, I have seen evidence of leftovers.