public boolean isFirstMessage() {
        if (bodies.size() == 1)
            return bodies.get(0).isFirstBody();
        
        for (AMF0Body body : bodies) {
            if (body.isFirstBody())
                return true;
        }
        
        return false;
    }