def get_next_step(self, step=None):
if step is None:<EOL><INDENT>step = self.steps.current<EOL><DEDENT>form_list = self.get_form_list()<EOL>keys = list(form_list.keys())<EOL>key = keys.index(step) + <NUM_LIT:1><EOL>for next_step in keys[key:]:<EOL><INDENT>if self.is_step_visible(next_step):<EOL><INDENT>return next_step<EOL><DEDENT><DEDENT>return None<EOL>
Returns the next step after the given `step`. If no more steps are
available, None will be returned. If the `step` argument is None, the
current step will be determined automatically.