def image_check(link: str):
    """
    Function that checks the passed in link's end extension.

    Parameters
    ----------
    link: str
        the link to check for

    Returns
    -------
    bool
        whether or not the passed in link contains "image" format ending
    """
    return link.lower().endswith(('.jpg', '.png', '.jpeg', '.gif', '.webp', '.bmp', '.tiff'))