isEmpty() no longer necessary since item count property introduced.