TODO
todo
Added isSameOrBaseOf
Adapted to newest common.hhpp
todo