code: def is_step_visible(self, step):
          
          return self.idempotent_dict.get(step, True) or \
              step not in self.storage.validated_step_data
docs: Returns whether the given `step` should be included in the wizard; it
          is included if either the form is idempotent or not filled in before.