I am looking for a way to determine if an image_file is a valid SVG file.
This answer using imghdr works well for other file types, PNG, etc, but for SVG it just returns None.
Is there a different package I can use, or some other way than just checking the file extension, to ensure an image_file is SVG?