def METHOD_NAME(element: QueueTuple) -> ProviderStatus:
    prefix, example, url = element
    status_code: Optional[int]
    exception: Optional[str]
    context: Optional[str]
    try:
        res = requests.head(url, timeout=10, allow_redirects=True)
    except IOError as e:
        status_code = None
        failed = True
        exception = e.__class__.__name__
        context = str(e)
    else:
        status_code = res.status_code
        failed = res.status_code != 200
        exception = None
        context = None
    if failed:
        text = (
            f'[{datetime.datetime.now().strftime("%H:%M:%S")}] '
            + click.style(prefix, fg="green")
            + " at "
            + click.style(url, fg="red")
            + " failed to download"
        )
        if exception:
            text += ": " + click.style(exception, fg="bright_black")
        with tqdm.external_write_mode():
            click.echo(text)
    return ProviderStatus(
        prefix=prefix,
        example=example,
        url=url,
        failed=failed,
        status_code=status_code,
        exception=exception,
        context=context,
    )