empty method

bool empty()

Returns true if the list is empty.

Implementation

bool empty() => _length == 0;