refactor(semantic): introduce IsGlobalReference
trait
#5672
+61
−58
IsGlobalReference
trait
#5672