The isEmpty method determines whether the list is empty.
Public
int isEmpty() const
The method returns one of the following values: