Add isEmpty() and isNotEmpty()