Checks whether an entity translation is accessible.
\Drupal\Core\Entity\EntityInterface $entity: The entity to be accessed.
$op: The operation to be performed on the translation. Possible values are:
TRUE if the current user is allowed to view the translation.
function translation_entity_access(EntityInterface $entity, $op) {
return translation_entity_controller($entity
->entityType())
->getTranslationAccess($entity, $op);
}