test for children only if has model property