Unless the cameras firmware is programmed to map them out and interpolate over them, you should be able to see them with the Gain (ASA setting) turned all the way up, shoot the back of the lenscap or some severe underexposure, and view the image in Raw mode. "Hot" Pixels will stand out like a little light, and dead pixels will be little black spots.
Used to work in the old days.