#NEWLINE# def is_binary( filename ) : #NEWLINE# #INDENT# "\n    :param filename: File to check.\n    :returns: True if it's a binary file, otherwise False.\n    " #NEWLINE# chunk = get_starting_chunk ( filename ) #NEWLINE# return is_binary_string ( chunk )