Yep. Most modern “DSLR’s” from roughly the last decade have this type of feature and it’s usually automatic on either power-up or down (or both) and can usually also be activated manually. I know on my Canon’s I can actually hear it shaking the sensor. It sounds like a couple of faint squeaks.