def _on_action_visible_changed(self, action, trait_name, old, new):

        self.control.Enable(action.visible and action.enabled)

        return
Returns the unique identifier (string) of a task instance.
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/action/action_item.py/_MenuItem._on_action_visible_changed--crossover with--dataset/ETHPy150Open Robpol86/Flask-Celery-Helper/flask_celery.py/_LockManager.task_identifier