boolean (@NotNull PsiDirectory directory) { return !ContainerUtil.exists(EP_NAME.getExtensions(), extension -> extension instanceof DirectoryAsPackageRenameHandlerBase<?> && ((DirectoryAsPackageRenameHandlerBase<?>)extension).getPackage(directory) != null); }