This project provides a condition which matches when the current request represents a route of an entity link template. The condition works with any entity which uses link templates.
For example you can match when you are on a Node view page (canonical), or Edit Form (edit-form), etc.
Entity Route Context project provides an all purpose context which activates when you're on a route for an entity.