def METHOD_NAME(self, channel_name):
    message = self.db.get_message(self.channels[channel_name])
    if utils.is_msg_intended_for(message, channel_name):
        self.msg_received = True
        return message
    else:
        self.msg_received = False
        return False