accepts

fun accepts(contentType: ContentType): Boolean

Note that the Accept header ignores CharSet because that is in a separate Accept-CharSet header..