#NEWLINE# def is_deleted( self ) : #NEWLINE# #INDENT# '\n        Check if the DB is considered to be deleted.\n\n        :returns: True if the DB is considered to be deleted, False otherwise\n        ' #NEWLINE# if ( ( self . db_file != ':memory:' ) and ( not os . path . exists ( conn . db_file ) ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# self . _commit_puts_stale_ok ( ) #NEWLINE# with self . get ( ) as conn : #NEWLINE# #INDENT# return self . _is_deleted ( conn )