docs: def is_locator(self, path, relative=False):
          """
          Returns True if path refer to a locator.
  
          Depending the storage, locator may be a bucket or container name,
          a hostname, ...
  
          args:
              path (str): path or URL.
              relative (bool): Path is relative to current root.
  
          Returns:
              bool: True if locator.
          """
          if not relative:
              path = self.relpath(path)
          # Bucket is the main directory
          return path and '/' not in path.rstrip('/')