def is_translation(args):
  """Translations live in the site/<lang>/ directory of the docs-l10n repo."""
  path_str = str(args["path"].resolve())

  if "site/" not in path_str:
    return False
  elif "site/en/" in path_str:
    return False
  elif "site/en-snapshot/" in path_str:
    return False
  else:
    return True