method activeQueueIsEmpty() added to coreObject to be used as filter for a yield waituntil