```!data.messages.isEmpty()``` is preferred over size() > 0.