bs4.Doctype.isalpha

Doctype.isalpha() → bool

Return True if all characters in S are alphabetic and there is at least one character in S, False otherwise.