Implemented queue.Empty