public function render($mode, $node) {
        return ($mode > 0 || $node->hasProperty('renderBox') == false || $node->getProperty('renderBox') === null || $node->getProperty('renderBox') === true) ? true : false;
    }
public function render($mode, $node) {
        return ($mode > 0 || $node->hasProperty('renderBox') == false || $node->getProperty('renderBox') === null || $node->getProperty('renderBox') === true) ? true : false;
    }
public function render ( $ mode , $ node ) { return ( $ mode > 0 || $ node -> hasProperty ( 'renderBox' ) == false || $ node -> getProperty ( 'renderBox' ) === null || $ node -> getProperty ( 'renderBox' ) === true ) ? true : false ; }
Decide if box should be rendered or not based on renderMode and node properties

@param integer $mode Value to check
@param NodeInterface $node

@return boolean
Decide if box should be rendered or not based on renderMode and node properties