#NEWLINE# def IsFileRequired( self , filename ) : #NEWLINE# #INDENT# 'Returns true if a file is required by GTFS, false otherwise.\n    Unknown files are, by definition, not required' #NEWLINE# if ( filename not in mapping . _file_mapping ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# mapping = self . _file_mapping [ filename ] #NEWLINE# return mapping [ 'required' ]