How to verify if two bits of a 32 bit register are swapped?

can a back door write followed by front door read to the register catch this issue?