public static boolean isOrdinaryPackage(@NotNull PsiDirectory directory) {
    return directory.findFile(PyNames.INIT_DOT_PY) != null;
  }
public static boolean isOrdinaryPackage(@NotNull PsiDirectory directory)