Returns a Boolean stating whether the string is in UPPER CASE.
str. isupper()
bool
#TODO
For 8-bit strings, this method is locale-dependent. Returns False if string is empty.
>>> ''.isupper()
False
>>> 'abc123'.isupper()
False
>>> 'abc'.isupper()
False
>>> '123'.isupper()
False
>>> 'Abc Def'.isupper()
False
>>> 'Abc def'.isupper()
False
>>> '!@#'.isupper()
False
>>> ' '.isupper()
False
>>> 'ABC'.isupper()
Trueisalnum(), isalpha(), isdigit(), islower(), isspace(), istitle(), isupper()