<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def handle_message(self, msg):
 """ Manage message of different type and in the context of path. """

        if msg.msg_id in self.messagesAllowed:
            super(LimitedReporter, self).handle_message(msg)