JSX interview question

How do you check a diode in a circuit?