class MulticastMessageData {
    private String sender;
    private int line;
    private MessagePayload payload;
    private List<String> targets;

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public int getLine() {
        return line;
    }

    public void setLine(int line) {
        this.line = line;
    }

    public MessagePayload getPayload() {
        return payload;
    }

    public void setPayload(MessagePayload payload) {
        this.payload = payload;
    }

    public static boolean isValide(MulticastMessageData sendMessageData) {<FILL_FUNCTION_BODY>}

    public WFCMessage.MultiCastMessage toProtoMessage() {
        return WFCMessage.MultiCastMessage.newBuilder().setFromUser(sender)
            .setLine(line)
            .setContent(payload.toProtoMessageContent())
            .addAllTo(targets)
            .build();
    }

    public List<String> getTargets() {
        return targets;
    }

    public void setTargets(List<String> targets) {
        this.targets = targets;
    }
}

        if(sendMessageData == null ||
            StringUtil.isNullOrEmpty(sendMessageData.getSender()) ||
            sendMessageData.getPayload() == null) {
            return false;
        }
        return true;
    
<no_super_class>