def ProxyCheck(self):
        # Verify proxy works! www.google.com might not work in a restricted
        # network, try target URL :)
        if self.Proxy is not None and self.is_request_possible():
            url = self.db_config.Get('PROXY_CHECK_URL')
            refused_before = self.RequestCountRefused
            cprint(
                "Proxy Check: Avoid logging request again if already in DB..")
            log_setting_backup = False
            if self.IsTransactionAlreadyAdded(url):
                log_setting_backup = self.log_transactions(False)
            if log_setting_backup:
                self.log_transactions(log_setting_backup)
            refused_after = self.RequestCountRefused
            if refused_after < refused_before:  # Proxy is refusing connections.
                return [
                    False,
                    "ERROR: Proxy Check error: The proxy is not listening " \
                    "or is refusing connections"]
            else:
                return [
                    True,
                    "Proxy Check OK: The proxy appears to be working"]
        return [
            True,
            "Proxy Check OK: No proxy is setup or no HTTP requests will " \
            "be made"]
dataset/ETHPy150Open owtf/owtf/framework/http/requester.py/Requester.ProxyCheck/swapped operands of `<`