They check if a cell has MHC class I molecules. Nothing more, nothing less. This is solely to protect against one of the best anti–immune system tactics virus and cancer cells have. Generally cells that are either infected or unhealthy do not show MHC class I receptors in order to hide what is going on inside them.