isEmpty method

bool isEmpty()

Implementation

bool isEmpty() => id == -1;