attachmentCollection !== null && $this->attachmentCollection->hasAttachments(); } }