def filter(self, items):
        """ Applies various filters based on the given policy.
        """
        filters = self.schema.get("filters", [])
        mapping = {
            "property": self.filter_property,
            "dayTime": self.filter_day_time,
            "randomSample": self.filter_random_sample,
            "probability": self.filter_probability,
        }
        items = self.dont_self_destruct(items)
        return self.filter_mapping(items, filters, mapping)
 Applies various filters based on the given policy.
        
powerfulseal/policy/action_nodes_pods.py