'Determine whether this issue should be ignored.'

def is_ignored(self, line, lineno, issue):

    docname = self.docname
    for rule in self.rules:
        if (rule.docname != docname):
            continue
        if (rule.issue != issue):
            continue
        if (rule.line not in line):
            continue
        if ((rule.lineno is not None) and (abs((rule.lineno - lineno)) > 5)):
            continue
        return True
    return False
