keyword">if</span> <span class="cm-variable">file</span>.<span class="cm-property">content_type</span> <span class="cm-keyword">not</span> <span class="cm-keyword">in</span> [<span class="cm-string">"image/jpeg"</span>,<span class="cm-string">"image/png"</span>,<span class="cm-string">"image/gif"</span>,<span class="cm-string">"image/webp"</span>]:</span></pre><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="c