def empty(self, tag=NOTAG):
        '''Return True if the queue is empty for a given tag'''
        self.mutex.acquire()
        n = self._empty(tag)
        self.mutex.release()
        return n
Return True if the queue is empty for a given tag
recipes/Python/576632_Queue_with_tagged_items/recipe-576632.py