bool isNotEmpty

Returns whether the buffer is not empty. This is a constant-time operation.