See
str.isupper
.