<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def format_message_type(message_type):
 """ Get printable version for message type :param message_type: Message type :type message_type: int :return: Printable version :rtype: str """

    if message_type == MsgType.NOT_SET:
        return "NOT_SET"
    elif message_type == MsgType.ACK:
        return "ACK"
    elif message_type == MsgType.JOIN:
        return "JOIN"
    elif message_type == MsgType.UNJOIN:
        return "UNJOIN"
    elif message_type == MsgType.CONFIG:
        return "CONFIG"
    elif message_type == MsgType.UPDATE:
        return "UPDATE"
    elif message_type == MsgType.DATA:
        return "DATA"
    else:
        return u"{}".format(message_type)