You can also have a dual coil relay that acts like an "exclusive or". If you wire them at opposite polarity the relay will only pick if you have current on one coil and not the other (XO function). This is good as a check circuit to be sure if you have A you also have B.