private function _isEndWithSelector($node)
    {
        if ($node->hasAttribute($this->_attrName)) {
            $len = strlen($this->_value);
            if ($len > 0) {
                $attr = $node->getAttribute($this->_attrName);
                $attrLen = strlen($attr);
                return $len <= $attrLen
                    && strpos($attr, $this->_value, $attrLen - $len) !== false;
            }
        }
        return false;
    }