'Returns True if request was already seen.
Parameters
request : scrapy.http.Request
Returns
bool'

def request_seen(self, request):

    fp = self.request_fingerprint(request)
    added = self.server.sadd(self.key, fp)
    return (added == 0)
