isalpha() - Returns True if all characters in the string are in the alphabet

Returns True if all the characters in the string are alphabetic.  This would be a-z or A-Z.

Example

Python
str1 = 'Abc'
str2 = "123"
print(str1.isalpha())
print(str2.isalpha())

Output

True
False