check if the youngest shadow tree is used

when the multiple shadow tree is attached to the same shadow host.