public boolean containsMimeTypeForExtension ( @ Nonnull final String sExtension ) { ValueEnforcer . notNull ( sExtension , "Extension" ) ; final ICommonsList < MimeTypeInfo > aInfos = getAllInfosOfExtension ( sExtension ) ; return CollectionHelper . isNotEmpty ( aInfos ) ; }
Check if any mime type is associated with the passed extension