(self, web)
return False
if it is instructed to close and is error-free , return True
if it is instructed to close and is error-free , return True
if it is instructed to close and is error - free return True
def is_error_free(self, web):
        ''' if it is instructed to close and is error-free , return True'''
        if web.get_form_value('add'):
            return True

        return False
def is_error_free ( self , web ) : if web . get_form_value ( 'add' ) : return True return False