'Determines whether to provide line or not.
:param line: the incoming line from the source
:type line: str
:returns: a line or `None`'

def filter(self, line):

    if (line is not None):
        if self.strip_lines:
            line = line.strip()
        elif self.strip_newlines:
            line = line.strip('\n')
        if ((not self.provide_blank) and (line == '')):
            return None
        elif (self.comment_char and line.startswith(self.comment_char)):
            return None
    return super(FilteredLineDataProvider, self).filter(line)
