ContainerBlock - add hasChildren method