def METHOD_NAME(api_client, keyword, keyword2):
    keyword.deprecated = True
    keyword.save()
    response = get_list(api_client, data={"show_all_keywords": True})
    ids = [entry["id"] for entry in response.data["data"]]
    assert keyword.id not in ids
    assert keyword2.id in ids
    response = get_list(
        api_client, data={"show_all_keywords": True, "show_deprecated": True}
    )
    ids = [entry["id"] for entry in response.data["data"]]
    assert keyword.id in ids
    assert keyword2.id in ids