code: def _pred_sets_are_in_conflict(pred_set_a, pred_set_b):
      
      # pred_sets conflict if we cannot find one shared predicate that is "negated" in one
      # and "non-negated" in the other
      for pred_a, bool_a in pred_set_a:
          for pred_b, bool_b in pred_set_b:
              if pred_a is pred_b and bool_a != bool_b:
                  return False
      return True
docs: Find conflict in sets, return conflict if found, else None.