def act_mapping(self, items, actions, mapping):
        """ Executes all the actions on the list of pods.
        """
        success = True
        for action in actions:
            for key, method in mapping.items():
                if key in action:
                    params = action.get(key)
                    ret = method(items, params)
                    if not ret:
                        success = False
        return success
 Executes all the actions on the list of pods.
        
powerfulseal/policy/action_nodes_pods.py