pub fn format_supports_variant(format: &str, variant: &str) -> Result<bool>
Check if a format supports a specific variant. Returns true if the format can handle the specified variant, false otherwise.