Disconnect the connector from the brake master cylinder reservoir.
Measure the resistance between the terminals after gradually draining brake fluid.