Simple judgment of capacitors