supported_file_types = ['jpg', 'png', 'jpeg']

def is_supported_image_file(file_parts):
    if(len(file_parts) > 1 and file_parts[1] in supported_file_types):
        return True
    else:
        return False
5c958d7c15e4791b5aa2f6f024cc6f58567c07ed
<mask token>

<mask token>


def is_supported_image_file(file_parts):
    if len(file_parts) > 1 and file_parts[1] in supported_file_types:
        return True
    else:
        return False

supported_file_types = ['jpg', 'png', 'jpeg']


def is_supported_image_file(file_parts):
    if len(file_parts) > 1 and file_parts[1] in supported_file_types:
        return True
    else:
        return False

supported_file_types = ['jpg', 'png', 'jpeg']

def is_supported_image_file(file_parts):
    if(len(file_parts) > 1 and file_parts[1] in supported_file_types):
        return True
    else:
        return False