def is_unresponsive(url):
 host = urlparse(url).hostname
 return (host in unresponsive_hosts)

def is_unresponsive ( url ) : host = urlparse ( url ) . hostname return ( host in unresponsive_hosts )
checks if host of given url has timed out within wait_time .