Make sure it's empty, point the muzzle up, insert a pencil into the muzzle and let it drop to the breechface. Cock the hammer and pull the trigger. If the pencil jumps upwards (usually they'll exit the muzzle) it'll set a cartridge/primer off.
Then pencil test, it's called.