public function elementExists($path, $file = 'word/document.xml') { $nodeList = $this->getNodeList($path, $file); return !($nodeList->length == 0); }