def METHOD_NAME(self, line):
    valid_error = True
    for regex in self._config.false_positives:
        if re.search(regex.regex, line):
            # The false positive was hit, so record that and ignore
            # the message from pylint.
            regex.used += 1
            valid_error = False
            break
    # If any false positive matched the error message, it's a valid
    # error from pylint.
    return valid_error