def files_exist(self, filenames):
        """ Check if all files in a given list exist. """
        return all([os.path.exists(os.path.abspath(filename)) and os.path.isfile(os.path.abspath(filename))
                    for filename in filenames])
def files_exist ( self , filenames ) : return all ( [ os . path . exists ( os . path . abspath ( filename ) ) and os . path . isfile ( os . path . abspath ( filename ) ) for filename in filenames ] )
Check if all files in a given list exist.