code: def randomToggle(self, randomize):
          
          if randomize:
              self._stim.setReorderFunc(order_function('random'), 'random')
          else:
              self._stim.reorder = None
docs: Sets the reorder function on this StimulusModel to a randomizer
          or none, alternately