Similar to islower() and isupper() there are many isX() type methods.
isalpha()
Returns True if the string consists only of letters and isn’t blankisalnum()
Returns True if the string consists only of letters and numbers and is not blankisdecimal()
Returns True if the string consists only of numeric characters and is not blankisspace()
Returns True if the string consists only of spaces, tabs, and newlines and is not blankistitle()
Returns True if the string consists only of words that begin with an uppercase letter followed by only lowercase letters
Note, the isX() methods are helpful for input validation.