#NEWLINE# def exists( self , filename ) : #NEWLINE# #INDENT# ' Checks if the file already exists in the bucket using Boto.\n\n        Arguments\n        ---------\n        name : str\n            Filename to check its existence\n\n        Returns\n        -------\n        bool\n            Whether the file exists on the file system\n        ' #NEWLINE# s3connection = self . connect ( ) #NEWLINE# bucket = self . bucket ( s3connection ) #NEWLINE# path = self . join ( self . store_path , bucket ) #NEWLINE# key = boto . s3 . key . Key ( name = path , bucket = bucket ) #NEWLINE# return key . exists ( )