Change isEmptyQ to delegate to stack::isEmptyS