How does the function IsValid of UiElement work?

Hi @thinhnguyenhung
maybe this answer here will help?