public function access($object, AccountInterface $account = NULL, $return_as_object = FALSE) {
$result = AccessResult::allowedIfHasPermission($account, 'provide translation services');
return $return_as_object ? $result : $result
->isAllowed();
}