uses GFCI protection, an outlet’s safety depends on many factors. These include proper wiring connections, appropriate grounding procedures, compliant installation practices, correct receptacle selection, and adherence to applicable electrical codes.

Don’t assume a dead outlet is broken
Switch-controlled outlets can be difficult to differentiate from broken outlets.
If nothing happens when you plug in a vacuum cleaner, charger, or lamp, check nearby wall switches before assuming the receptacle is dead. This is particularly true in bedrooms, living rooms, dens, and older homes.
Many times, a switch appears to be non-functional