get the value 'reset_sequences' key of the options dictionary, if it exists substitute it for reset_sequences, otherwise reset_sequences is boolean True.
reset_sequences = options . get ( 'reset_sequences' , True )