/** * Check if a queue has anything in it which is the same as an existence check * * @param $queue * @return bool */ public function queueIsEmpty($queue) { return $this->redis->llen($queue) === 0; }