boolean (@NotNull String packageName) { final Collection<String> packagePrefixes = myFileManager.getNonTrivialPackagePrefixes(); for (final String subpackageName : packagePrefixes) { if (PsiNameHelper.isSubpackageOf(subpackageName, packageName)) return true; } return false; }