public static boolean mostRecentMessageIsDisconnect(List<String> listMessages) {
    	String lastMessage = listMessages.get(listMessages.size()-1);
    	return lastMessage.equals(ConnectState.DISCONNECTED.toString());
    }