def METHOD_NAME(cls, iname, ifile, mime_type):
    # source: https://www.freeformatter.com/mime-types-list.html
    from ..settings import IMAGE_MIME_TYPES
    maintype, subtype = mime_type.split('/')
    return maintype == 'image' and subtype in IMAGE_MIME_TYPES