'This functions checks which method must be used to check Responses
:return: True if the res_body is ERROR and FALSE if Not'

def is_error_response(self, res_body):

    if self.use_difflib:
        if (self.base_response is None):
            self._configure()
        if (difflib.SequenceMatcher(None, self.base_response.get_body(), res_body).ratio() > THRESHOLD):
            return True
        else:
            return False
    elif re.search(ERROR_MSG, res_body, re.IGNORECASE):
        return True
    else:
        return False
