def _process_filter(self, query, host_state):
        if not query:
            return True
        cmd = query[0]
        method = self.commands[cmd]
        cooked_args = []
        for arg in query[1:]:
            if isinstance(arg, list):
                arg = self._process_filter(arg, host_state)
            elif isinstance(arg, six.string_types):
                arg = self._parse_string(arg, host_state)
            if arg is not None:
                cooked_args.append(arg)
        result = method(self, cooked_args)
        return result
Evaluate the total entropy of a message with respect to the model.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/scheduler/filters/json_filter.py/JsonFilter._process_filter--crossover with--dataset/ETHPy150Open billzorn/mtgencode/lib/nltk_model_api.py/ModelI.entropy