def METHOD_NAME() -> bool:
    def helper() -> Any:
        if proc.returncode is not None:
            return True
        try:
            return requests.get(jupter_notebook_url)
        except ConnectionError:
            return False
    return wait_until(helper)