(self, value)
return taken or queued
Return True if item is in queue or currently being processed.
        False otherwise

        Redis will not like this operation.  Use sparingly with large queues.
Return True if item is in queue or currently being processed.
        False otherwise
Return True if item is in queue or currently being processed . False otherwise
def is_queued(self, value):
        """
        Return True if item is in queue or currently being processed.
        False otherwise

        Redis will not like this operation.  Use sparingly with large queues.
        """
        if value == self._item:
            taken, queued, completed = raw_client().evalsha(
                self._SHAS['lq_is_queued_h_k'],
                len(self.SCRIPTS['lq_is_queued_h_k']['keys']),
                self._path, self._h_k)
        else:
            taken, queued, completed = raw_client().evalsha(
                self._SHAS['lq_is_queued_item'],
                len(self.SCRIPTS['lq_is_queued_item']['keys']),
                self._path, value)
        return taken or queued
def is_queued ( self , value ) : if value == self . _item : taken , queued , completed = raw_client ( ) . evalsha ( self . _SHAS [ 'lq_is_queued_h_k' ] , len ( self . SCRIPTS [ 'lq_is_queued_h_k' ] [ 'keys' ] ) , self . _path , self . _h_k ) else : taken , queued , completed = raw_client ( ) . evalsha ( self . _SHAS [ 'lq_is_queued_item' ] , len ( self . SCRIPTS [ 'lq_is_queued_item' ] [ 'keys' ] ) , self . _path , value ) return taken or queued