Add has_sets that can be used for checking of two pairs