import re


def is_gcs_path(gcs_path_string):
  """
  Checks if strings are of the format
  "gs://bucket_name" or "gs://bucket_name/file/path"
  """
  return bool(re.match(r'gs://([^/]+)(/.+)?', gcs_path_string))