def METHOD_NAME(context: Context, status_code: str) -> None:
    """Check the availability status code."""
    post_response = context.post_response.json()
    if status_code == "None":
        assert_true("availability" not in post_response)
    elif status_code == "[]":
        assert_equal(len(post_response["availability"]), 0)
    else:
        assert_equal(status_code, str(post_response["availability"][0]["status_code"]))