boolean (SearchEverywhereContributor<?> contributor) { if (contributor instanceof RecentFilesSEContributor) return true; if (contributor instanceof PSIPresentationBgRendererWrapper wrapper) return wrapper.getDelegate() instanceof RecentFilesSEContributor; return false; }