code: def exists(self, path):
          
          (bucket, key) = self._path_to_bucket_and_key(path)
  
          # root always exists
          if self._is_root(key):
              return True
  
          # file
          if self._exists(bucket, key):
              return True
  
          if self.isdir(path):
              return True
  
          logger.debug('Path %s does not exist', path)
          return False
docs: Does provided path exist on S3?