def menu_allowed(self):
        "Check if menu is enabled along with operations."
        return self.MENU and self.operations_enabled
Check if menu is enabled along with operations.
recipes/Python/578154_Directory_Pruner_4/recipe-578154.py