The wiki says `pile.top()` and `pile.bottom()` return None if the pile is empty. In fact, they return an invalid Card object with id -1.