bytearray.isalpha()
Return true if all bytes in the sequence are alphabetic ASCII characters and the sequence is not empty, false otherwise. Alphabetic ASCII characters are those byte values in the sequence b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
.
For example:
>>> b'ABCabc'.isalpha() True >>> b'ABCabc1'.isalpha() False
Please login to continue.