def METHOD_NAME(self, key, record, policy, put_data):
    """
    Invoke exists() with key and policy.
    """
    put_data(self.as_connection, key, record, _policy=policy)
    key, meta = self.as_connection.exists(key, policy)
    assert meta["gen"] is not None
    assert meta["ttl"] is not None