boolean (@NotNull String filter, @NotNull String text) { return (isUnitTest || mySpeedSearch.isPopupActive()) && StringUtil.isNotEmpty(filter) && mySpeedSearch.getComparator().matchingFragments(filter, text) != null; }