def METHOD_NAME(accounts, s3_client, mocker):
    s3_client.create_bucket(Bucket="some-bucket")
    mock_aws_api = mocker.patch("reconcile.utils.state.AWSApi", autospec=True)
    mock_aws_api.return_value.get_session_client.return_value = s3_client
    state = _init_state_from_accounts(
        integration="integration-name",
        bucket_name=BUCKET,
        account_name=ACCOUNT,
        accounts=accounts,
        secret_reader=ConfigSecretReader(),
    )
    assert not state.exists("some-key")