def not_valid_name(self): text = 'Sorry, that is not a valid name' reply = message.information(self, 'Invalid Name', text, message.Ok) return reply == message.Ok