def METHOD_NAME(port: int, timeout: float = 5):
    if not utils.repeat_until(lambda: _is_port_used(port), timeout=timeout):
        raise TimeoutError(
            f"Autonity did not start listening on port {port} "
            f"within {timeout} seconds")