def Operation(self, x, y):
    # Assuming x is iterable, check if it contains y.
    # Otherwise, check if x and y are equal.
    try:
      return x in y
    except TypeError:
      return y == x
dataset/ETHPy150Open google/grr/grr/lib/objectfilter.py/Contains.Operation/swapped operands of `in`