Implemented in Wikibase\Lib\Store\TitleLookupBasedEntityRedirectChecker, and Wikibase\Lib\Store\TypeDispatchingRedirectChecker.