def _urlmatcher_for_gcs_stub(url):
 (_, host, _, _, _) = urlparse.urlsplit(url)
 return (host == common.LOCAL_API_HOST)

def _urlmatcher_for_gcs_stub ( url ) : ( _ , host , _ , _ , _ ) = urlparse . urlsplit ( url ) return ( host == common . LOCAL_API_HOST )
determines whether a url should be handled by gcs stub .