private var isEmojiSupported: Bool {
let uniChars = Array(utf16)
let font = CTFontCreateWithName("AppleColorEmoji" as CFString, 0.0, nil)
var glyphs: [CGGlyph] = [0, 0]
let visible = CTFontGetGlyphsForCharacters(font, uniChars, &glyphs, uniChars.count)
let emojiWidth = ceil(self.size(withAttributes: [.font: UIFont.systemFont(ofSize: 12)]).width)
let standardEmojiWidth = ceil("😊".size(withAttributes: [.font: UIFont.systemFont(ofSize: 12)]).width)
let unseparated = emojiWidth == standardEmojiWidth
return visible && unseparated