(Available since version 1.0)
LinkedList::isEmpty — Checks whether the singly linked list is empty
This function has no parameters.
Returns whether the singly linked list is empty.