def is_accepted_type(mimetype):
    return (
        any((mimetype.startswith(prefix) for prefix in 
            ACCEPTED_MIMETYPE_PREFIXES)) or
        mimetype in ACCEPTED_APPLICATION_MIMETYPES
    )
Returns ``True`` if the mimetype starts with one of the
dataset/ETHPy150Open pculture/vidscraper/vidscraper/utils/mimetypes.py/is_accepted_type