Use `context.graph()`/`context.hasEntity()` here, not `cache.graph`, because that is the graph that the calling code will be using.
Use `context.graph()`/`context.hasEntity()` here, not `cache.graph`,
because that is the graph that the calling code will be using.

openstreetmap/iD,openstreetmap/iD,openstreetmap/iD