def Equals(self, other):
    if other is self: return 1
    if len(self.items) != len(other.items): return 0

    for (type_id, item) in other.items.items():
      if self.items not in type_id: return 0
      if not self.items[type_id].Equals(item): return 0

    return 1
dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto/message_set.py/MessageSet.Equals/swapped operands of `not in`