app/code/community/Nexcessnet/Turpentine/Model/Observer/Ban.php
protected function _checkResult($result) {
        $rvalue = true;
        foreach ($result as $socketName => $value) {
            if ($value !== true) {
                Mage::helper('turpentine/debug')->logWarn(
                    'Error in Varnish action result for server [%s]: %s',
                    $socketName, $value );
                $rvalue = false;
            }
        }
        return $rvalue;
    }
protected function _checkResult($result) {
        $rvalue = true;
        foreach ($result as $socketName => $value) {
            if ($value !== true) {
                Mage::helper('turpentine/debug')->logWarn(
                    'Error in Varnish action result for server [%s]: %s',
                    $socketName, $value );
                $rvalue = false;
            }
        }
        return $rvalue;
    }
protected function _checkResult ( $ result ) { $ rvalue = true ; foreach ( $ result as $ socketName => $ value ) { if ( $ value !== true ) { Mage :: helper ( 'turpentine/debug' ) -> logWarn ( 'Error in Varnish action result for server [%s]: %s' , $ socketName , $ value ) ; $ rvalue = false ; } } return $ rvalue ; }
Check a result from varnish admin action, log if result has errors

@param  array $result stored as $socketName => $result
@return bool
Check a result from varnish admin action log if result has errors