private static boolean isRefactoredClassInBackedFile(@Nullable VirtualFile targetFile, @NotNull PyClass pyClass) {
    VirtualFile file = pyClass.getContainingFile().getVirtualFile();
    return file instanceof BackedVirtualFile &&
           Comparing.equal(((BackedVirtualFile)file).getOriginFile(), targetFile);
  }
private static boolean isRefactoredClassInBackedFile(@Nullable VirtualFile targetFile, @NotNull PyClass pyClass)