def get_host_attestation(self, host):
        """Check host's trust level."""
        if self.compute_nodes not in host:
            self._init_cache_entry(host)
        if not self._cache_valid(host):
            self._update_cache()
        level = self.compute_nodes.get(host).get('trust_lvl')
        return level
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/scheduler/filters/trusted_filter.py/ComputeAttestationCache.get_host_attestation/swapped operands of `not in`