def is_unicode_list(value):
  """Checks if a value's type is a list of Unicode strings."""
  if value and isinstance(value, list):
    return isinstance(value[0], str)
  return False
Checks if a value's type is a list of Unicode strings.
language/canine/tydiqa/debug.py