public function allowChildren(Page $page)
    {
        $models = $this->container->getParameter('fulgurio_light_cms.models');
        return $models[$page->getModel()]['allow_children'];
    }
public function allowChildren(Page $page)
    {
        $models = $this->container->getParameter('fulgurio_light_cms.models');
        return $models[$page->getModel()]['allow_children'];
    }
public function allowChildren ( Page $ page ) { $ models = $ this -> container -> getParameter ( 'fulgurio_light_cms.models' ) ; return $ models [ $ page -> getModel ( ) ] [ 'allow_children' ] ; }
Check if page model allow children

@param Page $page
Check if page model allow children