public static boolean isEmoji(String code){
  return getEmoji(code) == null ? false : true;
}

public static boolean isEmoji ( String code ) { return getEmoji ( code ) == null ? false : true ; }
checks if an emoji exists for the unicode , short code , decimal or hexadecimal html entity
