public function shouldDisplay(): bool
    {
        if ($this->before || $this->after) {
            return true;
        }

        return (bool) count($this->children);
    }
public function shouldDisplay(): bool
    {
        if ($this->before || $this->after) {
            return true;
        }

        return (bool) count($this->children);
    }
public function shouldDisplay ( ) : bool { if ( $ this -> before || $ this -> after ) { return true ; } return ( bool ) count ( $ this -> children ) ; }
Returns whether the tab-pane should be displayed

@return bool
Returns whether the tab - pane should be displayed