public function hasNextSibling(ConnectionInterface $con = null)
    {
        if (!ChildCategoryQuery::isValid($this)) {
            return false;
        }

        return ChildCategoryQuery::create()
            ->filterByTreeLeft($this->getRightValue() + 1)
            ->exists($con);
    }
public function hasNextSibling(ConnectionInterface $con = null)
    {
        if (!ChildCategoryQuery::isValid($this)) {
            return false;
        }

        return ChildCategoryQuery::create()
            ->filterByTreeLeft($this->getRightValue() + 1)
            ->exists($con);
    }
public function hasNextSibling ( ConnectionInterface $ con = null ) { if ( ! ChildCategoryQuery :: isValid ( $ this ) ) { return false ; } return ChildCategoryQuery :: create ( ) -> filterByTreeLeft ( $ this -> getRightValue ( ) + 1 ) -> exists ( $ con ) ; }
Determines if the node has next sibling

@param      ConnectionInterface $con Connection to use.
@return     bool
Determines if the node has next sibling