def _on_action_enabled_changed(self, action, trait_name, old, new):
        if self.control is not None:
            self.control.setEnabled(action.enabled)
most_frequent_terms() should return the N most frequent terms.
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/action/action_item.py/_Tool._on_action_enabled_changed--crossover with--dataset/ETHPy150Open davidmcclure/textplot/test/text/test_most_frequent_terms.py/test_most_frequent_terms