def AssertIn(item, sequence, msg=None):
  if item not in sequence:
    _RaiseWithInfo(msg, "%r not in %r" % (item, sequence))
Raises an error when item is not in sequence.
dataset/ETHPy150Open ganeti/ganeti/qa/qa_utils.py/AssertIn