Gets data for this node using the given key or returns an Optional.empty().
Optional.empty()
The data.
The type of the data.
The key for the data