- Refactors the case statement in init/3 into the
  maybe_transition_to_initialize function