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/577635_Directory_Pruner_3/recipe-577635.py