def METHOD_NAME(dictionary):
    """Test the equality comparison for the ``Dict`` type.
    A node should compare equal to a the plain dictionary that has the same value, as well as any other ``Dict`` node
    that has the same content. For context, the discussion on whether to compare nodes by content was started in the
    following issue:
    https://github.com/aiidateam/aiida-core/issues/1917
    A summary and the final conclusion can be found in this discussion:
    https://github.com/aiidateam/aiida-core/discussions/5187
    """
    different_dict = {'I': {'am': 'different'}}
    node = Dict(dictionary)
    different_node = Dict(different_dict)
    clone = Dict(dictionary)
    # Test equality comparison with Python base type
    assert node == dictionary
    assert node != different_dict
    # Test equality comparison between `Dict` nodes
    assert node is node  # pylint: disable=comparison-with-itself
    assert node == clone
    assert node != different_node