public Matches isEmoji(char[] sequence) {
    return isEmoji(sequence, 0, sequence.length);
  }
Checks if sequence of chars contain an emoji.

@param sequence Sequence of char that may contain emoji in full or
partially.

@return
&lt;li&gt;
  Matches.EXACTLY if char sequence in its entirety is an emoji
&lt;/li&gt;
&lt;li&gt;
  Matches.POSSIBLY if char sequence matches prefix of an emoji
&lt;/li&gt;
&lt;li&gt;
  Matches.IMPOSSIBLE if char sequence matches no emoji or prefix of an
  emoji
&lt;/li&gt;
src/main/java/com/vdurmont/emoji/EmojiTrie.java