def _is_url_whitelisted(self, url):
        """
        Verify if the provided URL is whitelisted via url_hosts_whitelist runner parameter.
        """
        if not self.url_hosts_whitelist:
            return True

        host = self._get_host_from_url(url=url)

        if host in self.url_hosts_whitelist:
            return True

        return False

        Verify if the provided URL is whitelisted via url_hosts_whitelist runner parameter.
        
contrib/runners/http_runner/http_runner/http_runner.py