framework: add isPartent/isChild