Check if the raw resource is a svg file, by looking at the file_extension
true if the resource is an svg.
resource id.