'Only returns true if the status field is set to DELETED.'

def is_status_deleted(self):

    with self.get() as conn:
        row = conn.execute('\n                                                                SELECT    put_timestamp,    delete_timestamp,    status\n                                                                FROM    account_stat').fetchone()
        return ((row['status'] == 'DELETED') or (row['delete_timestamp'] > row['put_timestamp']))
