def METHOD_NAME(self):
    with __exception_wrapper__:
        curs = self.cursor()
        if curs.getconnection().getautocommit():
            return False
        curs.execute('rollback;')
    return True