def get_response_message(message, data, final_length):
    """get the response message

    message -- previous received message
    data - new received messages
    """
    if message == b'':
        _s = data.split(b'#')
        final_length = int(_s[0].decode())
    message += data
    try:
        if len(message.decode()) == final_length + len(str(final_length)) + 1:
            return message, final_length, True
    except UnicodeDecodeError:
        pass
    return message, final_length, False
