def TSetOf(val_type):
  desc = WithDesc("Set of %s" % (Parens(val_type), ))
  return desc(lambda st: TListOf(val_type)(list(set(st))))
Checks if a given value is a list with all elements of the same
dataset/ETHPy150Open ganeti/ganeti/lib/ht.py/TSetOf