def name_in_list(self): text = 'That name is already in the list' reply = message.information(self, 'Existing Name', text, message.Ok) return reply == message.Ok