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