def METHOD_NAME(relative_url: list) -> Optional[str]:
    """Check if new url is as expected when using assume_yes flag"""
    readme_formatter = ReadmeFormat(INVALID_MD, assume_answer=True)
    return readme_formatter.get_new_url_from_user(relative_url)