nltk.CFG.is_nonempty

CFG.is_nonempty()[source]

Return True if there are no empty productions.