private boolean belongsToSomeMovedElement(final @NotNull PsiElement element) {
    return StreamEx.of(myAllMovedElements).
      map(SmartPsiElementPointer::getElement)
      .nonNull()
      .map(PyMoveModuleMembersHelper::expandNamedElementBody)
      .anyMatch(moved -> PsiTreeUtil.isAncestor(moved, element, false));
  }
private boolean belongsToSomeMovedElement(final @NotNull PsiElement element)