nltk.Production.is_lexical

Production.is_lexical()[source]

Return True if the right-hand contain at least one terminal token.

Return type:bool