It attempts to write the full storage and then read it back. If its fake, the read will fail. It's also useful for detecting storage that has become unreliable.
Absolutely, but it may take multiple minutes or hours to detect; which you do have when you buy it off Amazon but not when you've bought it off a sketchy vendor at a flea market.