def has(self, message_class):

    if message_class.MESSAGE_TYPE_ID not in self.items:
      return 0
    item = self.items[message_class.MESSAGE_TYPE_ID]
    return item.Parse(message_class)
dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto/message_set.py/MessageSet.has/original