def METHOD_NAME(
    self, response, from_process_spider_input, from_process_start_requests
):
    self.checks.append(bool(from_process_spider_input))
    self.checks.append(bool(from_process_start_requests))
    self.crawler.stats.inc_value("boolean_checks", 2)
    return Request(self.mockserver.url("/spider_mw_2"), self.parse_spider_mw_2)