You can know this through a multimeter. You will need to connect the multimeter with the leads of the capacitor and read the voltage. The reading should be around 9 and then the voltage will decrease rapidly. This is possible with a good capacitor. If the voltage doesn’t decrease, then the capacitor is defective.