nltk.text_type.isalnum

text_type.isalnum() → bool

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