Given four numbers a, b, c, and d, return true if exactly two of them are the same. If there are two sets of identical numbers (e.g. 1, 2, 1, 2), return True.