def action_check_pod_count(self, pods, params):
        """
            Checks that the count of pods equals the desired count.
        """
        count = int(params.get("count"))
        if len(pods) != count:
            self.logger.error("Expected %d pods, got %d", count, len(pods))
            return False
        return True

            Checks that the count of pods equals the desired count.
        
powerfulseal/policy/action_pods.py