Stacks and Queues: isEmpty() improved in Stacks