You can check it for tampering with the software test, the instructions are on the ledger page.
But things can usually be made much simpler: if the ledger is configured when you get it, it is unsafe. Someone may have a copy of the key phrase.
In that case, enter an incorrect pin 3x and the seed will be abandoned. Then the device can be reinitialised like new. For extra paranoia, do this process twice to make sure the 24 word passphrase actually changes when a new seed is initialized.