It depends on the hit and how it was repaired. First things to check are to sight down the rear quarter panels, look for any waviness. That will tell you if they are straight. Next, check how well the doors and trunk open & close. If they work like they should (easy) then your next step is drive the car. See how it tracks on a Flat Road (parking lot) .. if it goes straight it should be ok. Have some follow the car to see if the wheels all seem to be in the same track line. And of course, check the trunk floor and under car frame and components.