src/Node.php
public function hasTranslatedChildren($locale = null)
    {
        foreach ($this->getChildren() as $child)
        {
            if ($child->hasTranslation($locale))
            {
                return true;
            }
        }

        return false;
    }
public function hasTranslatedChildren($locale = null)
    {
        foreach ($this->getChildren() as $child)
        {
            if ($child->hasTranslation($locale))
            {
                return true;
            }
        }

        return false;
    }
public function hasTranslatedChildren ( $ locale = null ) { foreach ( $ this -> getChildren ( ) as $ child ) { if ( $ child -> hasTranslation ( $ locale ) ) { return true ; } } return false ; }
Filters children by locale

@param string $locale
@return Collection
Filters children by locale