private static boolean isPrivateDefinition(@NotNull QualifiedName fqn, @NotNull PyElement exported, PsiFile originalFile) {
    if (containsPrivateComponents(fqn)) {
      QualifiedName importPath = QualifiedNameFinder.findCanonicalImportPath(exported, originalFile);
      return importPath != null && containsPrivateComponents(importPath);
    }
    return false;
  }
private static boolean isPrivateDefinition(@NotNull QualifiedName fqn, @NotNull PyElement exported, PsiFile originalFile)