def METHOD_NAME(self, response, **kwargs):
    if response.url.endswith("/general_with"):
        self.checks.append(kwargs["key"] == "value")
        self.checks.append(kwargs["number"] == 123)
        self.checks.append(kwargs["callback"] == "some_callback")
        self.crawler.stats.inc_value("boolean_checks", 3)
    elif response.url.endswith("/general_without"):
        self.checks.append(
            kwargs == {}  # pylint: disable=use-implicit-booleaness-not-comparison
        )
        self.crawler.stats.inc_value("boolean_checks")