The check runs in your browser: it downloads the sealed record from the public ledger, recomputes its SHA-256 hash and the block seal, and checks the links to the neighbouring blocks.