Check if the list is empty.
true if there are no nodes in the list; false otherwise.
Complexity: O(1).
SList!int sl; assert(sl.empty); size_t pos = 0; sl.insert(pos, 1); assert(!sl.empty);
See Implementation
Check if the list is empty.