Add isEnabled() methods for format-specific features (like CBORReadFeature and CBORWriteFeature) to mappers (original) (raw)

While working on some Spring Boot configuration for CBORMapper, I've noticed that, unlike JsonMapper, CBORMapper does not have isEnabled methods for its format-specific features. I only really need them for testing that configuration has been applied correctly but they would certainly be useful for that. Symmetry with JsonMapper would perhaps be beneficial too.