Function that returns true if the back pressure strategy has a job in queue.
@override bool hasNext() => queue != null;