def keyExists(self, bucketName, keyName):
        """Returns a bool indicating whether the key exists"""
        with self.state_.lock:
            self.state_.validateAccess(bucketName, self.credentials_)
            if bucketName not in self.state_.buckets_:
                return False
            return self.state_.buckets_[bucketName] in keyName
dataset/ETHPy150Open ufora/ufora/ufora/distributed/S3/InMemoryS3Interface.py/InMemoryS3Interface.keyExists/swapped operands of `in`