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