def _is_equal(a, b):
  """Returns whether two sets are equal.

  Args:
    a: A set, as returned by `sets.make()`.
    b: A set, as returned by `sets.make()`.

  Returns:
    True if `a` is equal to `b`, False otherwise.
  """
  return a._values == b._values