/** * @return bool */ public function IsPdf() { return $this->oBodyStructure ? $this->oBodyStructure->IsPdf() : false; }