'Return True/False to indicate whether to enable the "Submit" button.'

def should_enable_submit_button(self):

    submitted_without_reset = (self.is_submitted() and (self.rerandomize == RANDOMIZATION.ALWAYS))
    if (self.closed() or submitted_without_reset):
        return False
    else:
        return True
