#NEWLINE# def has_line_changed( self , filename , line ) : #NEWLINE# #INDENT# '\n        Check whether or not a line has changed in\n        a file.\n\n        Useful for verifying that errors from tools\n        are new and likely to be related to the lines\n        changed in the pull request.\n        ' #NEWLINE# changed = [ change for change in self . all_changes ( changed ) if change . has_line_changed ( line ) ] #NEWLINE# return ( len ( changed ) > 0 )