A quick visual check of every electrical outlet is important – look for any signs of overheating (burn marks or melted plastic) and ensure none of the outlets are loose or damaged. A basic outlet testers can be used to make sure all outlets are properly grounded and the electrical current is coming through safely. Grounded outlets are particularly important during a power surge, as improperly grounded outlets will not be able to release the excess energy, posing a risk of shock or electrocution.
Of course, it is always advised that you have a proper home inspection completed before purchasing a new home. That said, if you have specific electrical concerns or want to do a more thorough analysis of the homes electrical systems, hiring a professional electrician is your best bet.