public function isDisplayable() {
        $displayable = $this->enable && $this->visible;
        if (true === $displayable) {
            return true;
        }
        foreach ($this->getNodes() as $current) {
            if (false === ($current instanceof AbstractNavigationNode)) {
                continue;
            }
            if (true === $current->isDisplayable()) {
                return true;
            }
        }
        return $displayable;
    }
public function isDisplayable() {
        $displayable = $this->enable && $this->visible;
        if (true === $displayable) {
            return true;
        }
        foreach ($this->getNodes() as $current) {
            if (false === ($current instanceof AbstractNavigationNode)) {
                continue;
            }
            if (true === $current->isDisplayable()) {
                return true;
            }
        }
        return $displayable;
    }
public function isDisplayable ( ) { $ displayable = $ this -> enable && $ this -> visible ; if ( true === $ displayable ) { return true ; } foreach ( $ this -> getNodes ( ) as $ current ) { if ( false === ( $ current instanceof AbstractNavigationNode ) ) { continue ; } if ( true === $ current -> isDisplayable ( ) ) { return true ; } } return $ displayable ; }
Determines if the node is displayable.

@return bool Returns true in case of success, false otherwise.
Determines if the node is displayable .