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