/**
  * Check if logged in User is allowed to edit
  *
  * @param array $settings TypoScript and FlexForm Settings
  * @param \In2code\Powermail\Domain\Model\Mail $mail
  * @return bool
  */
 public function render($settings = array(), $mail)
 {
     return $this->div->isAllowedToEdit($settings, $mail);
 }