@NotNull
  public static List<LookupElement> getSubModuleVariants(@Nullable PsiDirectory directory,
                                                         @NotNull PsiElement location,
                                                         @Nullable Set<? super String> namesAlready) {
    final List<LookupElement> result = new ArrayList<>();
    for (PsiFileSystemItem item : getSubmodulesList(directory, location)) {
      if (item != location.getContainingFile().getOriginalFile()) {
        final LookupElement lookupElement = buildFileLookupElement(location.getContainingFile(), item, namesAlready);
        if (lookupElement != null) {
          lookupElement.putUserData(PyCompletionMlElementInfo.Companion.getKey(), PyCompletionMlElementKind.PACKAGE_OR_MODULE.asInfo());
          result.add(lookupElement);
        }
      }
    }
    return result;
  }
@NotNull
  public static List<LookupElement> getSubModuleVariants(@Nullable PsiDirectory directory,
                                                         @NotNull PsiElement location,
                                                         @Nullable Set<? super String> namesAlready)