Make isRoot()
call on annotation safe
#1417
Merged
isRoot()
call on annotation safe
#1417