static public function isValid(ChildCategory $node = null)
    {
        if (is_object($node) && $node->getRightValue() > $node->getLeftValue()) {
            return true;
        } else {
            return false;
        }
    }
static public function isValid(ChildCategory $node = null)
    {
        if (is_object($node) && $node->getRightValue() > $node->getLeftValue()) {
            return true;
        } else {
            return false;
        }
    }
static public function isValid ( ChildCategory $ node = null ) { if ( is_object ( $ node ) && $ node -> getRightValue ( ) > $ node -> getLeftValue ( ) ) { return true ; } else { return false ; } }
Tests if node is valid

@param      ChildCategory $node    Propel object for src node
@return     bool
Tests if node is valid