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

        return ChildCategoryQuery::create()
            ->filterByTreeRight($this->getLeftValue() - 1)
            ->exists($con);
    }
public function hasPrevSibling(ConnectionInterface $con = null)
    {
        if (!ChildCategoryQuery::isValid($this)) {
            return false;
        }

        return ChildCategoryQuery::create()
            ->filterByTreeRight($this->getLeftValue() - 1)
            ->exists($con);
    }
public function hasPrevSibling ( ConnectionInterface $ con = null ) { if ( ! ChildCategoryQuery :: isValid ( $ this ) ) { return false ; } return ChildCategoryQuery :: create ( ) -> filterByTreeRight ( $ this -> getLeftValue ( ) - 1 ) -> exists ( $ con ) ; }
Determines if the node has previous sibling

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