Return True if the log line has the nominated yaxis field.

def accept_line(self, logevent):
        """Return True if the log line has the nominated yaxis field."""
        if self.regex_mode:
            return bool(re.search(self.field, logevent.line_str))
        else:
            return getattr(logevent, self.field) is not None