is_empty
Description:
Returns true if the sequence contains zero items.
This function is functionally identical to checking the result of get_length being equal to zero. However this function is implemented in O(1) running time.
Parameters:
this |
a Sequence |
Returns:
true if the sequence is empty, otherwise false. |