Creating hasChildViews helper