def METHOD_NAME(dictionary, key, expected):
    """Test the ``__contains__`` implementation."""
    node = Dict(dictionary)
    assert (key in dictionary) is expected
    assert (key in node) is expected
    node.store()
    assert (key in node) is expected