isEmpty method

bool isEmpty()

Returns true is Stack is empty

Implementation

bool isEmpty() {
    return first == null;
  }