Wrote isEmptyDeck()