Added JavaDoc for getMessageExists()