Return True if the queue is empty, False otherwise.
(self)
| 42 | return self.__db.llen(self.key) |
| 43 | |
| 44 | def empty(self): |
| 45 | """Return True if the queue is empty, False otherwise.""" |
| 46 | return self.qsize() == 0 |
| 47 | |
| 48 | def put(self, item): |
| 49 | """Put item into the queue.""" |