@DSGenerator( tool_name = "Doppelganger",tool_version = "2.0",generated_on = "2013-12-30 13:02:38.770-0500",hash_original_method = "C464D16A28A9DCABA3B0B8FD02F52155",hash_generated_method ="0A183B7841054C14E915336FD1A0DC9E") fun hasExtension(extension: String?): Boolean {return if (extension == null ||extension.isEmpty()) {false} else extensionToMimeTypeMap.containsKey(extension) }
Returns true if the given extension has a registered MIME type .