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