Every topological space is a dense subset of itself.
Both OSPF and IS-IS routers build a topological representation of the network.