How do you check a capacitor to see if it is any good....and how to do it without getting zapped?

My swimming pool pump motor won't kick on - just a loud hum, then trips.

I'm suspecting the capacitor.