human
How to check if a character is upper-case in Python?
assistant
Here is some code to check if all string elements in list `words` are upper-cased

print(all(word[0].isupper() for word in words))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.