Returns whether or not the request should be sent to the
        modules, based on the filters.

def should_send(self, request):
        """Returns whether or not the request should be sent to the
        modules, based on the filters."""
        if self.filters.get('whitelist', None):
            return request.tree.type in self.filters['whitelist']
        elif self.filters.get('blacklist', None):
            return request.tree.type not in self.filters['blacklist']
        else:
            return True