#NEWLINE# def is_blacklisted( self , appid , crawlid ) : #NEWLINE# #INDENT# '\n        Checks the redis blacklist for crawls that should not be propagated\n        either from expiring or stopped\n        @return: True if the appid crawlid combo is blacklisted\n        ' #NEWLINE# key_check = '{appid}||{crawlid}' . format ( appid = appid , crawlid = appid ) #NEWLINE# redis_key = ( self . spider . name + ':blacklist' ) #NEWLINE# return self . redis_conn . sismember ( redis_key , key_check )