'Checks if a where statement given does not exist
If there is no output, it will raise an assertion error
Usage:
Check if exists  s3db.auth_user.id < 100
True
Check if exists  s3db.auth_user.id > 10
False'

def check_if_not_exists(self, statement):

    output = self.query_and_return_the_first_row_where(statement)
    if output:
        raise AssertionError(("Expected    to    have    no    row    from    '%s'    but    got    at                                                                    least    one    row." % statement))
