/**
  * Implements \Drupal\block\BlockBase::blockAccess().
  */
 public function blockAccess(AccountInterface $account)
 {
     return $this->contactForm->access('view', $account) && $account->hasPermission('access site-wide contact form');
 }