def is_descending(list_):<EOL>
try:<EOL><INDENT>prev = list_[<NUM_LIT:0>]<EOL><DEDENT>except IndexError:<EOL><INDENT>return True<EOL><DEDENT>for i in list_[<NUM_LIT:1>:]:<EOL><INDENT>if prev < i:<EOL><INDENT>return False<EOL><DEDENT>prev = i<EOL><DEDENT>return True<EOL>
Test if the list is in an descending order.