def is_accepted_type(mimetype):
    return (
        any((mimetype.startswith(prefix) for prefix in 
            ACCEPTED_MIMETYPE_PREFIXES)) or
        mimetype in ACCEPTED_APPLICATION_MIMETYPES
    )
Set destinationFields in destination goal from sourceFields in source
dataset/ETHPy150Open pculture/vidscraper/vidscraper/utils/mimetypes.py/is_accepted_type--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/base/goaling.py/GoalIndirect.action