Also Akherps, If you have ever installed a light fixture or ceiling fan, you can do this

And you don't even have to make sure the power is off.