src/Controller/ModelCollector.php
private function isRootModel(ModelInterface $model)
    {
        return (null !== $this->rootCondition) && $this->rootCondition->matches($model);
    }
private function isRootModel(ModelInterface $model)
    {
        return (null !== $this->rootCondition) && $this->rootCondition->matches($model);
    }
private function isRootModel ( ModelInterface $ model ) { return ( null !== $ this -> rootCondition ) && $ this -> rootCondition -> matches ( $ model ) ; }
Check if the passed model is a root model.

@param ModelInterface $model The model to check.

@return bool
Check if the passed model is a root model .