code: def is_prefix(cls, result):
          
          from boto.s3.prefix import Prefix
  
          return isinstance(result, Prefix) or cls._is_gs_folder(result)
docs: Return ``True`` if result is a prefix object.
  
          .. note::
              Boto uses the S3 Prefix object for GS prefixes.