def _keep_sequence(cps):
  if 1 > len(cps):
    return True
  cp = cps[0]
  if (unicode_data.is_private_use(cp) or
      unicode_data.category(cp)[0] not in ['L', 'P', 'S'] or
      _is_regional_indicator(cp) or
      _is_ascii_digit(cp) or
      cp == ord('#') or
      cp == ord('*')):
    return False
  return True


# NotoColorEmoji currently adds the following regions aliased to other flags.
dataset/ETHPy150Open googlei18n/nototools/nototools/generate_emoji_name_data.py/_keep_sequence/swapped operands of `>`