def visit(self, visitor):
        warnings.warn("Test visitors deprecated in Twisted 8.0",
                      category=DeprecationWarning)
        visitor(self)
Returns True if the action can be added to a menu/menubar.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/unittest.py/TestCase.visit--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/action/tests/test_action_item.py/FalseActionController.can_add_to_menu