@Override
  public boolean isAccessible(@NotNull PsiPackage pkg, @NotNull PsiElement place) {
    return isAccessible(moduleSystem -> moduleSystem.isAccessible(pkg.getQualifiedName(), null, place));
  }
@Override
  public boolean isAccessible(@NotNull PsiPackage pkg, @NotNull PsiElement place)