code: def _append_if_valid(found_emojis, candidate):
      for c in candidate:
          if ord(c) > 1000:
              found_emojis.append(candidate)
              return
  
imports: import pandas
  from scattertext.emojis.ProcessedEmojiStructure import VALID_EMOJIS
label_desc: Use image node_id 2 for calling a global function with example usage: _append_if_valid(found_emojis, candidate) without return types