The answer others may give is: "If you're asking you shouldn't be in there."
The safest way I know is to build a banana-resistor-banana cable with an appropriate resistor (i.e. 47k 2W), attach it to your multimeter and you can check that you've discharged to a safe voltage.
Edit: Some designs include a 200k or so bleeder resistor across the capacitor, it can save you time for troubleshooting to add one, I would still recommend at least checking voltage before touching, discharge is slow and resistors can fail.