code: def _is_aws_or_gcloud_path(tb_log_dir: str) -> bool:
      return tb_log_dir.startswith("gs://") or tb_log_dir.startswith(
          "s3://"
      )
  
file_path: avalanche/avalanche/logging/tensorboard_logger.py
imports: from pathlib import Path
  from typing import Union
  from PIL.Image import Image
  from torch import Tensor
  from torch.utils.tensorboard import SummaryWriter
  from matplotlib.pyplot import Figure
  from torchvision.transforms.functional import to_tensor
  from avalanche.evaluation.metric_results import AlternativeValues, TensorImage
  from avalanche.logging import BaseLogger
  import weakref
label_desc: Use image node_id 2 for calling a global function with example usage: _is_aws_or_gcloud_path(tb_log_dir) and returns: unknown