Checks 'view' access for a given entity or entity translation.
\Drupal\Core\Entity\EntityInterface $entity: The entity for which to check 'view' access.
string $langcode: (optional) The language code for which to check access. Defaults to LANGUAGE_DEFAULT.
\Drupal\user\Plugin\Core\Entity\User $account: (optional) The user for which to check access, or NULL to check access for the current user. Defaults to NULL.
bool TRUE if access was granted, FALSE otherwise.
public function viewAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL);